.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Prototypes for functions that are shared between setup_(32|64|common).c |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2016 Michael Ellerman, IBM Corporation. |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or |
---|
7 | | - * modify it under the terms of the GNU General Public License |
---|
8 | | - * as published by the Free Software Foundation; either version |
---|
9 | | - * 2 of the License, or (at your option) any later version. |
---|
10 | 6 | */ |
---|
11 | 7 | |
---|
12 | 8 | #ifndef __ARCH_POWERPC_KERNEL_SETUP_H |
---|
.. | .. |
---|
39 | 35 | static inline void exc_lvl_early_init(void) { }; |
---|
40 | 36 | #endif |
---|
41 | 37 | |
---|
42 | | -#ifdef CONFIG_PPC64 |
---|
| 38 | +#if defined(CONFIG_PPC64) || defined(CONFIG_VMAP_STACK) |
---|
43 | 39 | void emergency_stack_init(void); |
---|
44 | 40 | #else |
---|
45 | 41 | static inline void emergency_stack_init(void) { }; |
---|