linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* SLAB: Move two remaining SLAB specific definitions to slab_def.h
@ 2007-05-15  2:49 Christoph Lameter
  0 siblings, 0 replies; only message in thread
From: Christoph Lameter @ 2007-05-15  2:49 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm

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>

---
 include/linux/slab.h     |    3 ---
 include/linux/slab_def.h |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

Index: slub/include/linux/slab.h
===================================================================
--- slub.orig/include/linux/slab.h	2007-05-14 17:43:58.000000000 -0700
+++ slub/include/linux/slab.h	2007-05-14 19:46:57.000000000 -0700
@@ -248,9 +248,6 @@ extern void *__kmalloc_node_track_caller
 
 #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: slub/include/linux/slab_def.h
===================================================================
--- slub.orig/include/linux/slab_def.h	2007-05-14 17:26:15.000000000 -0700
+++ slub/include/linux/slab_def.h	2007-05-14 19:46:57.000000000 -0700
@@ -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 */

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-15  2:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-15  2:49 SLAB: Move two remaining SLAB specific definitions to slab_def.h Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox