blob: a2a959cb4e367b6ed72663ec01a8065af1538e77 [file] [log] [blame]
Christophe Leroy69795ca2019-04-18 16:51:18 +10001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_POWERPC_KUP_H_
3#define _ASM_POWERPC_KUP_H_
4
5#ifndef __ASSEMBLY__
6
7void setup_kup(void);
8
Christophe Leroy0fb1c252019-04-18 16:51:19 +10009#ifdef CONFIG_PPC_KUEP
10void setup_kuep(bool disabled);
11#else
12static inline void setup_kuep(bool disabled) { }
13#endif /* CONFIG_PPC_KUEP */
14
Christophe Leroy69795ca2019-04-18 16:51:18 +100015#endif /* !__ASSEMBLY__ */
16
17#endif /* _ASM_POWERPC_KUP_H_ */