Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5af328a5 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

mm/slub.c: make code static



Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7b55f620
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ static enum {

/* A list of all slab caches on the system */
static DECLARE_RWSEM(slub_lock);
LIST_HEAD(slab_caches);
static LIST_HEAD(slab_caches);

/*
 * Tracking user of a slab.
@@ -3638,7 +3638,7 @@ static struct kset_uevent_ops slab_uevent_ops = {
	.filter = uevent_filter,
};

decl_subsys(slab, &slab_ktype, &slab_uevent_ops);
static decl_subsys(slab, &slab_ktype, &slab_uevent_ops);

#define ID_STR_LENGTH 64

@@ -3736,7 +3736,7 @@ struct saved_alias {
	struct saved_alias *next;
};

struct saved_alias *alias_list;
static struct saved_alias *alias_list;

static int sysfs_slab_alias(struct kmem_cache *s, const char *name)
{