hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/powerpc/kernel/setup.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Prototypes for functions that are shared between setup_(32|64|common).c
34 *
45 * 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.
106 */
117
128 #ifndef __ARCH_POWERPC_KERNEL_SETUP_H
....@@ -39,7 +35,7 @@
3935 static inline void exc_lvl_early_init(void) { };
4036 #endif
4137
42
-#ifdef CONFIG_PPC64
38
+#if defined(CONFIG_PPC64) || defined(CONFIG_VMAP_STACK)
4339 void emergency_stack_init(void);
4440 #else
4541 static inline void emergency_stack_init(void) { };