1 #ifndef _ASM_POWERPC_IMA_H
2 #define _ASM_POWERPC_IMA_H
6 int ima_get_kexec_buffer(void **addr
, size_t *size
);
7 int ima_free_kexec_buffer(void);
10 void remove_ima_buffer(void *fdt
, int chosen_node
);
12 static inline void remove_ima_buffer(void *fdt
, int chosen_node
) {}
15 #ifdef CONFIG_IMA_KEXEC
16 int arch_ima_add_kexec_buffer(struct kimage
*image
, unsigned long load_addr
,
19 int setup_ima_buffer(const struct kimage
*image
, void *fdt
, int chosen_node
);
21 static inline int setup_ima_buffer(const struct kimage
*image
, void *fdt
,
24 remove_ima_buffer(fdt
, chosen_node
);
27 #endif /* CONFIG_IMA_KEXEC */
29 #endif /* _ASM_POWERPC_IMA_H */