Skip to content

Commit

Permalink
Move the invalid pmd and pte tables from .data to .bss. Fix alignment.
Browse files Browse the repository at this point in the history
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Thiemo Seufer authored and Ralf Baechle committed Oct 29, 2005
1 parent c264852 commit 0964ce2
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions arch/mips/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0964ce2

Please sign in to comment.