diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1716,7 +1716,7 @@ static inline void note_cmpxchg_failure(const char *n, | |||
1716 | stat(s, CMPXCHG_DOUBLE_CPU_FAIL); | 1716 | stat(s, CMPXCHG_DOUBLE_CPU_FAIL); |
1717 | } | 1717 | } |
1718 | 1718 | ||
1719 | void init_kmem_cache_cpus(struct kmem_cache *s) | 1719 | static void init_kmem_cache_cpus(struct kmem_cache *s) |
1720 | { | 1720 | { |
1721 | int cpu; | 1721 | int cpu; |
1722 | 1722 | ||
@@ -1941,7 +1941,7 @@ static void unfreeze_partials(struct kmem_cache *s) | |||
1941 | * If we did not find a slot then simply move all the partials to the | 1941 | * If we did not find a slot then simply move all the partials to the |
1942 | * per node partial list. | 1942 | * per node partial list. |
1943 | */ | 1943 | */ |
1944 | int put_cpu_partial(struct kmem_cache *s, struct page *page, int drain) | 1944 | static int put_cpu_partial(struct kmem_cache *s, struct page *page, int drain) |
1945 | { | 1945 | { |
1946 | struct page *oldpage; | 1946 | struct page *oldpage; |
1947 | int pages; | 1947 | int pages; |