Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / m68k / include / asm / kexec.h
blobf5a8b2defa4bcee418aea24ab85b23c9d6fd1b06
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_M68K_KEXEC_H
3 #define _ASM_M68K_KEXEC_H
5 #ifdef CONFIG_KEXEC
7 /* Maximum physical address we can use pages from */
8 #define KEXEC_SOURCE_MEMORY_LIMIT (-1UL)
9 /* Maximum address we can reach in physical address mode */
10 #define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL)
11 /* Maximum address we can use for the control code buffer */
12 #define KEXEC_CONTROL_MEMORY_LIMIT (-1UL)
14 #define KEXEC_CONTROL_PAGE_SIZE 4096
16 #define KEXEC_ARCH KEXEC_ARCH_68K
18 #ifndef __ASSEMBLY__
20 static inline void crash_setup_regs(struct pt_regs *newregs,
21 struct pt_regs *oldregs)
23 /* Dummy implementation for now */
26 #endif /* __ASSEMBLY__ */
28 #endif /* CONFIG_KEXEC */
30 #endif /* _ASM_M68K_KEXEC_H */