mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Purgatory used no annotations at all. So include linux/linkage.h and annotate everything: * code by SYM_CODE_* * data by SYM_DATA_* [ bp: Fixup comment in gdt: ] Signed-off-by: Jiri Slaby <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: Alexios Zavras <[email protected]> Cc: Allison Randal <[email protected]> Cc: Enrico Weigelt <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: [email protected] Cc: Thomas Gleixner <[email protected]> Cc: x86-ml <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
19 lines
350 B
ArmAsm
19 lines
350 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* purgatory: stack
|
|
*
|
|
* Copyright (C) 2014 Red Hat Inc.
|
|
*/
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
/* A stack for the loaded kernel.
|
|
* Separate and in the data section so it can be prepopulated.
|
|
*/
|
|
.data
|
|
.balign 4096
|
|
|
|
SYM_DATA_START(stack)
|
|
.skip 4096
|
|
SYM_DATA_END_LABEL(stack, SYM_L_GLOBAL, stack_end)
|