diff options
| author | Christoph Lameter <clameter@sgi.com> | 2007-05-17 01:10:52 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-17 08:23:03 -0400 |
| commit | 3ca12ee549f7837b8a685dddc9515f9fc28434ee (patch) | |
| tree | 30dcd051b8a08a6b529826ab6f449b15d62a0c12 | |
| parent | 9fbf09a09e8aa50c56e2c6dfacc27eff93ff4c93 (diff) | |
SLAB: Move two remaining SLAB specific definitions to slab_def.h
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>
| -rw-r--r-- | include/linux/slab.h | 3 | ||||
| -rw-r--r-- | include/linux/slab_def.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h index 71829efc40ba..5dbc0bae26e3 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h | |||
| @@ -233,9 +233,6 @@ extern void *__kmalloc_node_track_caller(size_t, gfp_t, int, void *); | |||
| 233 | 233 | ||
| 234 | #endif /* DEBUG_SLAB */ | 234 | #endif /* DEBUG_SLAB */ |
| 235 | 235 | ||
| 236 | extern const struct seq_operations slabinfo_op; | ||
| 237 | ssize_t slabinfo_write(struct file *, const char __user *, size_t, loff_t *); | ||
| 238 | |||
| 239 | #endif /* __KERNEL__ */ | 236 | #endif /* __KERNEL__ */ |
| 240 | #endif /* _LINUX_SLAB_H */ | 237 | #endif /* _LINUX_SLAB_H */ |
| 241 | 238 | ||
diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h index 5e4364644ed1..8d81a60518e4 100644 --- a/include/linux/slab_def.h +++ b/include/linux/slab_def.h | |||
| @@ -109,4 +109,7 @@ found: | |||
| 109 | 109 | ||
| 110 | #endif /* CONFIG_NUMA */ | 110 | #endif /* CONFIG_NUMA */ |
| 111 | 111 | ||
| 112 | extern const struct seq_operations slabinfo_op; | ||
| 113 | ssize_t slabinfo_write(struct file *, const char __user *, size_t, loff_t *); | ||
| 114 | |||
| 112 | #endif /* _LINUX_SLAB_DEF_H */ | 115 | #endif /* _LINUX_SLAB_DEF_H */ |
