瀏覽代碼

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>
steven miao 14 年之前
父節點
當前提交
ef9d8c251a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/blackfin/kernel/vmlinux.lds.S

+ 1 - 1
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 :
 	{