summaryrefslogtreecommitdiff
path: root/arch/parisc/include/asm/kexec.h
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2019-12-15 20:10:39 +0100
committerHelge Deller <deller@gmx.de>2019-12-15 21:05:38 +0100
commite16260c21f87b16a33ae8ecac9e8c79f3a8b89bd (patch)
treed9bd27a064d77e6a5ef1f28d3ad8ec2e7c5ebb6d /arch/parisc/include/asm/kexec.h
parente42617b825f8073569da76dc4510bfa019b1c35a (diff)
parisc: fix compilation when KEXEC=n and KEXEC_FILE=y
Fix compilation when the CONFIG_KEXEC_FILE=y and CONFIG_KEXEC=n. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/kexec.h')
-rw-r--r--arch/parisc/include/asm/kexec.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/parisc/include/asm/kexec.h b/arch/parisc/include/asm/kexec.h
index a99ea747d7ed..87e174006995 100644
--- a/arch/parisc/include/asm/kexec.h
+++ b/arch/parisc/include/asm/kexec.h
@@ -2,8 +2,6 @@
#ifndef _ASM_PARISC_KEXEC_H
#define _ASM_PARISC_KEXEC_H
-#ifdef CONFIG_KEXEC
-
/* Maximum physical address we can use pages from */
#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL)
/* Maximum address we can reach in physical address mode */
@@ -32,6 +30,4 @@ static inline void crash_setup_regs(struct pt_regs *newregs,
#endif /* __ASSEMBLY__ */
-#endif /* CONFIG_KEXEC */
-
#endif /* _ASM_PARISC_KEXEC_H */