]> err.no Git - linux-2.6/commitdiff
SLAB: Move two remaining SLAB specific definitions to slab_def.h
authorChristoph Lameter <clameter@sgi.com>
Thu, 17 May 2007 05:10:52 +0000 (22:10 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 17 May 2007 12:23:03 +0000 (05:23 -0700)
Two definitions remained in slab.h that are particular to the SLAB allocator.
Move to slab_def.h

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/slab.h
include/linux/slab_def.h

index 71829efc40ba22595419c6d2c46f9d3177e4b590..5dbc0bae26e3659c312924bc5a5b68ca87cf67f8 100644 (file)
@@ -233,9 +233,6 @@ extern void *__kmalloc_node_track_caller(size_t, gfp_t, int, void *);
 
 #endif /* DEBUG_SLAB */
 
-extern const struct seq_operations slabinfo_op;
-ssize_t slabinfo_write(struct file *, const char __user *, size_t, loff_t *);
-
 #endif /* __KERNEL__ */
 #endif /* _LINUX_SLAB_H */
 
index 5e4364644ed13eedadbb3e11256f44b63886b618..8d81a60518e4c615a89a1993f82a3bc2c9a4ac1b 100644 (file)
@@ -109,4 +109,7 @@ found:
 
 #endif /* CONFIG_NUMA */
 
+extern const struct seq_operations slabinfo_op;
+ssize_t slabinfo_write(struct file *, const char __user *, size_t, loff_t *);
+
 #endif /* _LINUX_SLAB_DEF_H */