mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 16:09:57 +07:00
6973210242
There is no reader of trampoline_status, it's only written.
It turns out that after commit ce4b1b1650
("x86/smpboot: Initialize
secondary CPU only if master CPU will wait for it"), trampoline_status is
not needed any more.
Signed-off-by: Pingfan Liu <kernelfans@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/1563266424-3472-1-git-send-email-kernelfans@gmail.com
44 lines
935 B
ArmAsm
44 lines
935 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Real-mode blob header; this should match realmode.h and be
|
|
* readonly; for mutable data instead add pointers into the .data
|
|
* or .bss sections as appropriate.
|
|
*/
|
|
|
|
#include <linux/linkage.h>
|
|
#include <asm/page_types.h>
|
|
#include <asm/segment.h>
|
|
|
|
#include "realmode.h"
|
|
|
|
.section ".header", "a"
|
|
|
|
.balign 16
|
|
GLOBAL(real_mode_header)
|
|
.long pa_text_start
|
|
.long pa_ro_end
|
|
/* SMP trampoline */
|
|
.long pa_trampoline_start
|
|
.long pa_trampoline_header
|
|
#ifdef CONFIG_X86_64
|
|
.long pa_trampoline_pgd;
|
|
#endif
|
|
/* ACPI S3 wakeup */
|
|
#ifdef CONFIG_ACPI_SLEEP
|
|
.long pa_wakeup_start
|
|
.long pa_wakeup_header
|
|
#endif
|
|
/* APM/BIOS reboot */
|
|
.long pa_machine_real_restart_asm
|
|
#ifdef CONFIG_X86_64
|
|
.long __KERNEL32_CS
|
|
#endif
|
|
END(real_mode_header)
|
|
|
|
/* End signature, used to verify integrity */
|
|
.section ".signature","a"
|
|
.balign 4
|
|
GLOBAL(end_signature)
|
|
.long REALMODE_END_SIGNATURE
|
|
END(end_signature)
|