aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-17 07:03:27 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 13:23:01 -0400
commit5af328a51067d8dc574c2b2c2629dd436a1e841e (patch)
treeca1c305a1019eb49a9ead016e6e31aafc3ce8a46
parent7b55f620e6908fec2d51751320c2a9459b5f375f (diff)
mm/slub.c: make code static
Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: 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--mm/slub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 2ae2dae12d9a..b1635f929b87 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -233,7 +233,7 @@ static enum {
233 233
234/* A list of all slab caches on the system */ 234/* A list of all slab caches on the system */
235static DECLARE_RWSEM(slub_lock); 235static DECLARE_RWSEM(slub_lock);
236LIST_HEAD(slab_caches); 236static LIST_HEAD(slab_caches);
237 237
238/* 238/*
239 * Tracking user of a slab. 239 * Tracking user of a slab.
@@ -3638,7 +3638,7 @@ static struct kset_uevent_ops slab_uevent_ops = {
3638 .filter = uevent_filter, 3638 .filter = uevent_filter,
3639}; 3639};
3640 3640
3641decl_subsys(slab, &slab_ktype, &slab_uevent_ops); 3641static decl_subsys(slab, &slab_ktype, &slab_uevent_ops);
3642 3642
3643#define ID_STR_LENGTH 64 3643#define ID_STR_LENGTH 64
3644 3644
@@ -3736,7 +3736,7 @@ struct saved_alias {
3736 struct saved_alias *next; 3736 struct saved_alias *next;
3737}; 3737};
3738 3738
3739struct saved_alias *alias_list; 3739static struct saved_alias *alias_list;
3740 3740
3741static int sysfs_slab_alias(struct kmem_cache *s, const char *name) 3741static int sysfs_slab_alias(struct kmem_cache *s, const char *name)
3742{ 3742{