提交 0964ce24 编写于 作者: T Thiemo Seufer 提交者: Ralf Baechle

Move the invalid pmd and pte tables from .data to .bss. Fix alignment.

Signed-off-by: NThiemo Seufer <ths@networkno.de>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 c2648527
...@@ -200,19 +200,13 @@ NESTED(smp_bootstrap, 16, sp) ...@@ -200,19 +200,13 @@ NESTED(smp_bootstrap, 16, sp)
.comm fw_arg2, SZREG, SZREG .comm fw_arg2, SZREG, SZREG
.comm fw_arg3, SZREG, SZREG .comm fw_arg3, SZREG, SZREG
.macro page name, order=0 .macro page name, order
.globl \name .comm \name, (_PAGE_SIZE << \order), (_PAGE_SIZE << \order)
\name: .size \name, (_PAGE_SIZE << \order)
.org . + (_PAGE_SIZE << \order)
.type \name, @object
.endm .endm
.data
.align PAGE_SHIFT
/* /*
* ... but on 64-bit we've got three-level pagetables with a * On 64-bit we've got three-level pagetables with a slightly
* slightly different layout ... * different layout ...
*/ */
page swapper_pg_dir, _PGD_ORDER page swapper_pg_dir, _PGD_ORDER
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册