summaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2006-03-22 09:08:13 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-22 16:53:58 +0100
commitfcc234f888ba2365c44ba0507eb8a18eebf1f594 (patch)
treeafc0d6f5a6191a94d8285f0b21ecec5a9b911df9 /mm/mempolicy.c
parent[PATCH] slab: remove cachep->spinlock (diff)
downloadlinux-fcc234f888ba2365c44ba0507eb8a18eebf1f594.tar.xz
linux-fcc234f888ba2365c44ba0507eb8a18eebf1f594.zip
[PATCH] mm: kill kmem_cache_t usage
We have struct kmem_cache now so use it instead of the old typedef. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r--mm/mempolicy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index b21869a39f0b..96195dcb62e1 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -98,8 +98,8 @@
/* The number of pages to migrate per call to migrate_pages() */
#define MIGRATE_CHUNK_SIZE 256
-static kmem_cache_t *policy_cache;
-static kmem_cache_t *sn_cache;
+static struct kmem_cache *policy_cache;
+static struct kmem_cache *sn_cache;
#define PDprintk(fmt...)