This changes the layout for arm too, but that's fine. The only thing to keep in mind is that while arm64 will have a single 64k page for its stack, arm will have 16 4k pages. If the number of stack pages matters, then unit tests that want to work for both arm and arm64, may need to avoid using more than one page, even though the memory is there. Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx> --- arm/flat.lds | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arm/flat.lds b/arm/flat.lds index ee9fc0ab79abc..89a55720d728f 100644 --- a/arm/flat.lds +++ b/arm/flat.lds @@ -2,10 +2,10 @@ SECTIONS { .text : { *(.init) *(.text) *(.text.*) } - . = ALIGN(4K); + . = ALIGN(64K); .data : { exception_stacks = .; - . += 4K; + . += 64K; exception_stacks_end = .; *(.data) } @@ -13,10 +13,10 @@ SECTIONS .rodata : { *(.rodata) } . = ALIGN(16); .bss : { *(.bss) } - . = ALIGN(4K); + . = ALIGN(64K); edata = .; - . += 8K; - . = ALIGN(4K); + . += 64K; + . = ALIGN(64K); stacktop = .; } -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html