mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
committed by
Helge Deller
parent
e42617b825
commit
e16260c21f
@@ -2,8 +2,6 @@
|
|||||||
#ifndef _ASM_PARISC_KEXEC_H
|
#ifndef _ASM_PARISC_KEXEC_H
|
||||||
#define _ASM_PARISC_KEXEC_H
|
#define _ASM_PARISC_KEXEC_H
|
||||||
|
|
||||||
#ifdef CONFIG_KEXEC
|
|
||||||
|
|
||||||
/* Maximum physical address we can use pages from */
|
/* Maximum physical address we can use pages from */
|
||||||
#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL)
|
#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL)
|
||||||
/* Maximum address we can reach in physical address mode */
|
/* 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 /* __ASSEMBLY__ */
|
||||||
|
|
||||||
#endif /* CONFIG_KEXEC */
|
|
||||||
|
|
||||||
#endif /* _ASM_PARISC_KEXEC_H */
|
#endif /* _ASM_PARISC_KEXEC_H */
|
||||||
|
@@ -37,5 +37,5 @@ obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
|
|||||||
obj-$(CONFIG_JUMP_LABEL) += jump_label.o
|
obj-$(CONFIG_JUMP_LABEL) += jump_label.o
|
||||||
obj-$(CONFIG_KGDB) += kgdb.o
|
obj-$(CONFIG_KGDB) += kgdb.o
|
||||||
obj-$(CONFIG_KPROBES) += kprobes.o
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
||||||
obj-$(CONFIG_KEXEC) += kexec.o relocate_kernel.o
|
obj-$(CONFIG_KEXEC_CORE) += kexec.o relocate_kernel.o
|
||||||
obj-$(CONFIG_KEXEC_FILE) += kexec_file.o
|
obj-$(CONFIG_KEXEC_FILE) += kexec_file.o
|
||||||
|
Reference in New Issue
Block a user