mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
There were number of issues in wakeup sequence: - Wakeup stack was placed in hardcoded address. - NX bit in EFER was not enabled. - Initialization incorrectly set physical address of secondary_startup_64. - Some alignment issues. This patch fixes these issues and in addition: - Unifies coding conventions in .S files. - Sets alignments of code and data right. Signed-off-by: Jarkko Sakkinen <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Originally-by: H. Peter Anvin <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Cc: Len Brown <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
20 lines
240 B
ArmAsm
20 lines
240 B
ArmAsm
/*
|
|
* Common heap and stack allocations
|
|
*/
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
.data
|
|
GLOBAL(HEAP)
|
|
.long rm_heap
|
|
GLOBAL(heap_end)
|
|
.long rm_stack
|
|
|
|
.bss
|
|
.balign 16
|
|
GLOBAL(rm_heap)
|
|
.space 2048
|
|
GLOBAL(rm_stack)
|
|
.space 2048
|
|
GLOBAL(rm_stack_end)
|