forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/x86/purgatory/stack.S
....@@ -1,19 +1,18 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * purgatory: stack
34 *
45 * Copyright (C) 2014 Red Hat Inc.
5
- *
6
- * This source code is licensed under the GNU General Public License,
7
- * Version 2. See the file COPYING for more details.
86 */
7
+
8
+#include <linux/linkage.h>
99
1010 /* A stack for the loaded kernel.
1111 * Separate and in the data section so it can be prepopulated.
1212 */
1313 .data
1414 .balign 4096
15
- .globl stack, stack_end
1615
17
-stack:
16
+SYM_DATA_START(stack)
1817 .skip 4096
19
-stack_end:
18
+SYM_DATA_END_LABEL(stack, SYM_L_GLOBAL, stack_end)