]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-tune-vm_committed_as-percpu_counter-batching-size-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 7 Jun 2013 00:07:56 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:16 +0000 (15:42 +1000)
fix section mismatch

Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mm_init.c

index bfb9034caa26a88fd7d7891915e1a32ed6832ecb..633c08863fd8923ca393f6126bc61f24f38fa427 100644 (file)
@@ -177,7 +177,7 @@ static int __meminit mm_compute_batch_notifier(struct notifier_block *self,
        return NOTIFY_OK;
 }
 
-static struct notifier_block compute_batch_nb = {
+static struct notifier_block compute_batch_nb __meminitdata = {
        .notifier_call = mm_compute_batch_notifier,
        .priority = IPC_CALLBACK_PRI, /* use lowest priority */
 };