Christophe Leroy | 69795ca | 2019-04-18 16:51:18 +1000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _ASM_POWERPC_KUP_H_ |
| 3 | #define _ASM_POWERPC_KUP_H_ |
| 4 | |
| 5 | #ifndef __ASSEMBLY__ |
| 6 | |
| 7 | void setup_kup(void); |
| 8 | |
Christophe Leroy | 0fb1c25 | 2019-04-18 16:51:19 +1000 | [diff] [blame^] | 9 | #ifdef CONFIG_PPC_KUEP |
| 10 | void setup_kuep(bool disabled); |
| 11 | #else |
| 12 | static inline void setup_kuep(bool disabled) { } |
| 13 | #endif /* CONFIG_PPC_KUEP */ |
| 14 | |
Christophe Leroy | 69795ca | 2019-04-18 16:51:18 +1000 | [diff] [blame] | 15 | #endif /* !__ASSEMBLY__ */ |
| 16 | |
| 17 | #endif /* _ASM_POWERPC_KUP_H_ */ |