From: steven miao Date: Mon, 31 Jan 2011 10:10:54 +0000 (+0000) Subject: Blackfin: SMP: PERCPU section should be PAGE aligned X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ef9d8c251ac84e2c471768bb57298b177f8d6ab5;p=deliverable%2Flinux.git 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 Signed-off-by: Mike Frysinger --- 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 : {