summaryrefslogtreecommitdiff
path: root/arch/powerpc/kexec/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kexec/core.c')
-rw-r--r--arch/powerpc/kexec/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kexec/core.c b/arch/powerpc/kexec/core.c
index a2242017e55f..8b68d9f91a03 100644
--- a/arch/powerpc/kexec/core.c
+++ b/arch/powerpc/kexec/core.c
@@ -185,7 +185,7 @@ void __init reserve_crashkernel(void)
}
}
-int overlaps_crashkernel(unsigned long start, unsigned long size)
+int __init overlaps_crashkernel(unsigned long start, unsigned long size)
{
return (start + size) > crashk_res.start && start <= crashk_res.end;
}