summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
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 /arch/blackfin
parentd6b435be4b3277b341ad1a77392d2e58b3d7b36d (diff)
downloadop-kernel-dev-ef9d8c251ac84e2c471768bb57298b177f8d6ab5.zip
op-kernel-dev-ef9d8c251ac84e2c471768bb57298b177f8d6ab5.tar.gz
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>
Diffstat (limited to 'arch/blackfin')
-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 c40d07f..f5fd234 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 :
{
OpenPOWER on IntegriCloud