diff options
Diffstat (limited to 'mm')
-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 | { |