slab: make create_boot_cache() work with 32-bit sizes
[muen/linux.git] / mm / slab.h
index c8887965491b93f823c0794d9d45ca9623c9565f..2a6d88044a5616b8e527f44b5411b9acbd7047c5 100644 (file)
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -97,8 +97,8 @@ struct kmem_cache *create_kmalloc_cache(const char *name, unsigned int size,
                        slab_flags_t flags, unsigned int useroffset,
                        unsigned int usersize);
 extern void create_boot_cache(struct kmem_cache *, const char *name,
-                       size_t size, slab_flags_t flags, size_t useroffset,
-                       size_t usersize);
+                       unsigned int size, slab_flags_t flags,
+                       unsigned int useroffset, unsigned int usersize);
 
 int slab_unmergeable(struct kmem_cache *s);
 struct kmem_cache *find_mergeable(size_t size, size_t align,