diff options
Diffstat (limited to 'arch/powerpc/kernel/machine_kexec_64.c')
-rw-r--r-- | arch/powerpc/kernel/machine_kexec_64.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel/machine_kexec_64.c index ee166c586642..1ccb188ba40d 100644 --- a/arch/powerpc/kernel/machine_kexec_64.c +++ b/arch/powerpc/kernel/machine_kexec_64.c | |||
@@ -339,3 +339,8 @@ void __init kexec_setup(void) | |||
339 | { | 339 | { |
340 | export_htab_values(); | 340 | export_htab_values(); |
341 | } | 341 | } |
342 | |||
343 | int overlaps_crashkernel(unsigned long start, unsigned long size) | ||
344 | { | ||
345 | return (start + size) > crashk_res.start && start <= crashk_res.end; | ||
346 | } | ||