Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / parisc / include / asm / kexec.h
blob87e17400699551f07af20cf152392bf76c26d9df
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_PARISC_KEXEC_H
3 #define _ASM_PARISC_KEXEC_H
5 /* Maximum physical address we can use pages from */
6 #define KEXEC_SOURCE_MEMORY_LIMIT (-1UL)
7 /* Maximum address we can reach in physical address mode */
8 #define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL)
9 /* Maximum address we can use for the control code buffer */
10 #define KEXEC_CONTROL_MEMORY_LIMIT (-1UL)
12 #define KEXEC_CONTROL_PAGE_SIZE 4096
14 #define KEXEC_ARCH KEXEC_ARCH_PARISC
15 #define ARCH_HAS_KIMAGE_ARCH
17 #ifndef __ASSEMBLY__
19 struct kimage_arch {
20 unsigned long initrd_start;
21 unsigned long initrd_end;
22 unsigned long cmdline;
25 static inline void crash_setup_regs(struct pt_regs *newregs,
26 struct pt_regs *oldregs)
28 /* Dummy implementation for now */
31 #endif /* __ASSEMBLY__ */
33 #endif /* _ASM_PARISC_KEXEC_H */