aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/kexec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/kexec.h b/include/asm-powerpc/kexec.h
index 0a1afced173f..efe8872ec583 100644
--- a/include/asm-powerpc/kexec.h
+++ b/include/asm-powerpc/kexec.h
@@ -125,6 +125,7 @@ extern void default_machine_crash_shutdown(struct pt_regs *regs);
125 125
126extern void machine_kexec_simple(struct kimage *image); 126extern void machine_kexec_simple(struct kimage *image);
127extern int overlaps_crashkernel(unsigned long start, unsigned long size); 127extern int overlaps_crashkernel(unsigned long start, unsigned long size);
128extern void reserve_crashkernel(void);
128 129
129#else /* !CONFIG_KEXEC */ 130#else /* !CONFIG_KEXEC */
130 131
@@ -133,6 +134,8 @@ static inline int overlaps_crashkernel(unsigned long start, unsigned long size)
133 return 0; 134 return 0;
134} 135}
135 136
137static inline void reserve_crashkernel(void) { ; }
138
136#endif /* CONFIG_KEXEC */ 139#endif /* CONFIG_KEXEC */
137#endif /* ! __ASSEMBLY__ */ 140#endif /* ! __ASSEMBLY__ */
138#endif /* __KERNEL__ */ 141#endif /* __KERNEL__ */