mm/slab.c: make local symbols static

Local symbols should be static.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>

authored by H Hartley Sweeten and committed by Pekka Enberg 68a1b195 597fb188

+3 -3
+3 -3
mm/slab.c
··· 284 284 * Need this for bootstrapping a per node allocator. 285 285 */ 286 286 #define NUM_INIT_LISTS (3 * MAX_NUMNODES) 287 - struct kmem_list3 __initdata initkmem_list3[NUM_INIT_LISTS]; 287 + static struct kmem_list3 __initdata initkmem_list3[NUM_INIT_LISTS]; 288 288 #define CACHE_CACHE 0 289 289 #define SIZE_AC MAX_NUMNODES 290 290 #define SIZE_L3 (2 * MAX_NUMNODES) ··· 4053 4053 * necessary. Note that the l3 listlock also protects the array_cache 4054 4054 * if drain_array() is used on the shared array. 4055 4055 */ 4056 - void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, 4056 + static void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, 4057 4057 struct array_cache *ac, int force, int node) 4058 4058 { 4059 4059 int tofree; ··· 4317 4317 * @count: data length 4318 4318 * @ppos: unused 4319 4319 */ 4320 - ssize_t slabinfo_write(struct file *file, const char __user * buffer, 4320 + static ssize_t slabinfo_write(struct file *file, const char __user *buffer, 4321 4321 size_t count, loff_t *ppos) 4322 4322 { 4323 4323 char kbuf[MAX_SLABINFO_WRITE + 1], *tmp;