summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteven miao <realmz6@gmail.com>2011-01-31 10:10:54 +0000
committerMike Frysinger <vapier@gentoo.org>2011-03-18 04:01:01 -0400
commitef9d8c251ac84e2c471768bb57298b177f8d6ab5 (patch)
tree721bdf5da175804ceb6f55aa1156d2a69445e410
parentd6b435be4b3277b341ad1a77392d2e58b3d7b36d (diff)
downloadlinux-ef9d8c251ac84e2c471768bb57298b177f8d6ab5.tar.bz2
Blackfin: SMP: PERCPU section should be PAGE aligned
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>
-rw-r--r--arch/blackfin/kernel/vmlinux.lds.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S
index c40d07f708e8..f5fd234e5773 100644
--- a/arch/blackfin/kernel/vmlinux.lds.S
+++ b/arch/blackfin/kernel/vmlinux.lds.S
@@ -136,7 +136,7 @@ SECTIONS
. = ALIGN(16);
INIT_DATA_SECTION(16)
- PERCPU(32, 4)
+ PERCPU(32, PAGE_SIZE)
.exit.data :
{