|
@@ -1163,7 +1163,7 @@ static int __cpuinit cpuup_callback(struct notifier_block *nfb,
|
|
struct kmem_cache *cachep;
|
|
struct kmem_cache *cachep;
|
|
struct kmem_list3 *l3 = NULL;
|
|
struct kmem_list3 *l3 = NULL;
|
|
int node = cpu_to_node(cpu);
|
|
int node = cpu_to_node(cpu);
|
|
- int memsize = sizeof(struct kmem_list3);
|
|
|
|
|
|
+ const int memsize = sizeof(struct kmem_list3);
|
|
|
|
|
|
switch (action) {
|
|
switch (action) {
|
|
case CPU_LOCK_ACQUIRE:
|
|
case CPU_LOCK_ACQUIRE:
|