diff options
Diffstat (limited to 'arch/powerpc/include/asm/ima.h')
-rw-r--r-- | arch/powerpc/include/asm/ima.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ima.h b/arch/powerpc/include/asm/ima.h new file mode 100644 index 000000000000..d5a72dd9b499 --- /dev/null +++ b/arch/powerpc/include/asm/ima.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef _ASM_POWERPC_IMA_H | ||
2 | #define _ASM_POWERPC_IMA_H | ||
3 | |||
4 | int ima_get_kexec_buffer(void **addr, size_t *size); | ||
5 | int ima_free_kexec_buffer(void); | ||
6 | |||
7 | #ifdef CONFIG_IMA | ||
8 | void remove_ima_buffer(void *fdt, int chosen_node); | ||
9 | #else | ||
10 | static inline void remove_ima_buffer(void *fdt, int chosen_node) {} | ||
11 | #endif | ||
12 | |||
13 | #endif /* _ASM_POWERPC_IMA_H */ | ||