aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2004-12-23 03:21:39 -0500
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:30:16 -0400
commit0964ce24d091a1d3dc7f667e1b107ab77d4325e6 (patch)
treee572b6e59f102cee5f6c0d7635f6ceae39aa9775 /arch
parentc264852726dde251a0c09ec22f61a9be8b0db68b (diff)
Move the invalid pmd and pte tables from .data to .bss. Fix alignment.
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/head.S14
1 files changed, 4 insertions, 10 deletions
diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S
index 2a1b45d66f04..124c27e908f4 100644
--- a/arch/mips/kernel/head.S
+++ b/arch/mips/kernel/head.S
@@ -200,19 +200,13 @@ NESTED(smp_bootstrap, 16, sp)
200 .comm fw_arg2, SZREG, SZREG 200 .comm fw_arg2, SZREG, SZREG
201 .comm fw_arg3, SZREG, SZREG 201 .comm fw_arg3, SZREG, SZREG
202 202
203 .macro page name, order=0 203 .macro page name, order
204 .globl \name 204 .comm \name, (_PAGE_SIZE << \order), (_PAGE_SIZE << \order)
205\name: .size \name, (_PAGE_SIZE << \order)
206 .org . + (_PAGE_SIZE << \order)
207 .type \name, @object
208 .endm 205 .endm
209 206
210 .data
211 .align PAGE_SHIFT
212
213 /* 207 /*
214 * ... but on 64-bit we've got three-level pagetables with a 208 * On 64-bit we've got three-level pagetables with a slightly
215 * slightly different layout ... 209 * different layout ...
216 */ 210 */
217 page swapper_pg_dir, _PGD_ORDER 211 page swapper_pg_dir, _PGD_ORDER
218#ifdef CONFIG_64BIT 212#ifdef CONFIG_64BIT