| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * purgatory: stack |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 8 | 6 | */ |
|---|
| 7 | + |
|---|
| 8 | +#include <linux/linkage.h> |
|---|
| 9 | 9 | |
|---|
| 10 | 10 | /* A stack for the loaded kernel. |
|---|
| 11 | 11 | * Separate and in the data section so it can be prepopulated. |
|---|
| 12 | 12 | */ |
|---|
| 13 | 13 | .data |
|---|
| 14 | 14 | .balign 4096 |
|---|
| 15 | | - .globl stack, stack_end |
|---|
| 16 | 15 | |
|---|
| 17 | | -stack: |
|---|
| 16 | +SYM_DATA_START(stack) |
|---|
| 18 | 17 | .skip 4096 |
|---|
| 19 | | -stack_end: |
|---|
| 18 | +SYM_DATA_END_LABEL(stack, SYM_L_GLOBAL, stack_end) |
|---|