blob: 1ef507ca50a5e002558436f7a8cbb4e0cd27bb43 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * purgatory: stack
4 *
5 * Copyright (C) 2014 Red Hat Inc.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00006 */
7
Olivier Deprez157378f2022-04-04 15:47:50 +02008#include <linux/linkage.h>
9
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000010 /* A stack for the loaded kernel.
11 * Separate and in the data section so it can be prepopulated.
12 */
13 .data
14 .balign 4096
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000015
Olivier Deprez157378f2022-04-04 15:47:50 +020016SYM_DATA_START(stack)
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000017 .skip 4096
Olivier Deprez157378f2022-04-04 15:47:50 +020018SYM_DATA_END_LABEL(stack, SYM_L_GLOBAL, stack_end)