summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/head.S
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2004-12-23 08:21:39 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:30:16 +0100
commit0964ce24d091a1d3dc7f667e1b107ab77d4325e6 (patch)
treee572b6e59f102cee5f6c0d7635f6ceae39aa9775 /arch/mips/kernel/head.S
parentc264852726dde251a0c09ec22f61a9be8b0db68b (diff)
downloadlinux-0964ce24d091a1d3dc7f667e1b107ab77d4325e6.tar.bz2
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/mips/kernel/head.S')
-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)
.comm fw_arg2, SZREG, SZREG
.comm fw_arg3, SZREG, SZREG
- .macro page name, order=0
- .globl \name
-\name: .size \name, (_PAGE_SIZE << \order)
- .org . + (_PAGE_SIZE << \order)
- .type \name, @object
+ .macro page name, order
+ .comm \name, (_PAGE_SIZE << \order), (_PAGE_SIZE << \order)
.endm
- .data
- .align PAGE_SHIFT
-
/*
- * ... but on 64-bit we've got three-level pagetables with a
- * slightly different layout ...
+ * On 64-bit we've got three-level pagetables with a slightly
+ * different layout ...
*/
page swapper_pg_dir, _PGD_ORDER
#ifdef CONFIG_64BIT