powerpc/mm/radix: Make sure swapper pgdir is properly aligned
With 4K page size radix config our level 1 page table size is 64K and it should be naturally aligned. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
484837601d
commit
43a5c68427
|
@ -973,13 +973,16 @@ start_here_common:
|
||||||
* This stuff goes at the beginning of the bss, which is page-aligned.
|
* This stuff goes at the beginning of the bss, which is page-aligned.
|
||||||
*/
|
*/
|
||||||
.section ".bss"
|
.section ".bss"
|
||||||
|
/*
|
||||||
.align PAGE_SHIFT
|
* pgd dir should be aligned to PGD_TABLE_SIZE which is 64K.
|
||||||
|
* We will need to find a better way to fix this
|
||||||
.globl empty_zero_page
|
*/
|
||||||
empty_zero_page:
|
.align 16
|
||||||
.space PAGE_SIZE
|
|
||||||
|
|
||||||
.globl swapper_pg_dir
|
.globl swapper_pg_dir
|
||||||
swapper_pg_dir:
|
swapper_pg_dir:
|
||||||
.space PGD_TABLE_SIZE
|
.space PGD_TABLE_SIZE
|
||||||
|
|
||||||
|
.globl empty_zero_page
|
||||||
|
empty_zero_page:
|
||||||
|
.space PAGE_SIZE
|
||||||
|
|
Loading…
Reference in New Issue