Blackfin: SMP: PERCPU section should be PAGE aligned
authorsteven miao <realmz6@gmail.com>
Mon, 31 Jan 2011 10:10:54 +0000 (10:10 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 18 Mar 2011 08:01:01 +0000 (04:01 -0400)
Common code checks the alignment of some of the variables and calls BUG()
if they aren't page aligned.

Signed-off-by: steven miao <realmz6@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/vmlinux.lds.S

index c40d07f708e8daabebcecd09fffc960f646dfaab..f5fd234e57732efda271a68d90a6bd011e3150eb 100644 (file)
@@ -136,7 +136,7 @@ SECTIONS
 
        . = ALIGN(16);
        INIT_DATA_SECTION(16)
-       PERCPU(32, 4)
+       PERCPU(32, PAGE_SIZE)
 
        .exit.data :
        {