]> err.no Git - linux-2.6/commitdiff
Move the invalid pmd and pte tables from .data to .bss. Fix alignment.
authorThiemo Seufer <ths@networkno.de>
Thu, 23 Dec 2004 08:21:39 +0000 (08:21 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:16 +0000 (19:30 +0100)
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/head.S

index 2a1b45d66f047dbca7ed7ee05e232e459b8b7157..124c27e908f4eb995dbc6353edf418d8b8aa1247 100644 (file)
@@ -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