]> 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>
Wed, 19 Jun 2013 00:06:15 +0000 (10:06 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:13:10 +0000 (17:13 +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 */
 };