diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-17 07:03:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:01 -0400 |
commit | 5af328a51067d8dc574c2b2c2629dd436a1e841e (patch) | |
tree | ca1c305a1019eb49a9ead016e6e31aafc3ce8a46 /mm/slub.c | |
parent | 7b55f620e6908fec2d51751320c2a9459b5f375f (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>
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 */ |
235 | static DECLARE_RWSEM(slub_lock); | 235 | static DECLARE_RWSEM(slub_lock); |
236 | LIST_HEAD(slab_caches); | 236 | static 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 | ||
3641 | decl_subsys(slab, &slab_ktype, &slab_uevent_ops); | 3641 | static 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 | ||
3739 | struct saved_alias *alias_list; | 3739 | static struct saved_alias *alias_list; |
3740 | 3740 | ||
3741 | static int sysfs_slab_alias(struct kmem_cache *s, const char *name) | 3741 | static int sysfs_slab_alias(struct kmem_cache *s, const char *name) |
3742 | { | 3742 | { |