xref: /linux/arch/powerpc/include/asm/crash_reserve.h (revision d30c1683aaecb93d2ab95685dc4300a33d3cea7a)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_CRASH_RESERVE_H
3 #define _ASM_POWERPC_CRASH_RESERVE_H
4 
5 /* crash kernel regions are Page size agliged */
6 #define CRASH_ALIGN             PAGE_SIZE
7 
8 #ifdef CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
9 static inline bool arch_add_crash_res_to_iomem(void)
10 {
11 	return false;
12 }
13 #define arch_add_crash_res_to_iomem arch_add_crash_res_to_iomem
14 #endif
15 
16 #endif /* _ASM_POWERPC_CRASH_RESERVE_H */
17