kexec.h (000a42b35a54372597f0657f6b9875b38c641864) | kexec.h (19031275a5881233b4fc31b7dee68bf0b0758bbc) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_POWERPC_KEXEC_H 3#define _ASM_POWERPC_KEXEC_H 4#ifdef __KERNEL__ 5 6#if defined(CONFIG_FSL_BOOKE) || defined(CONFIG_44x) 7 8/* --- 102 unchanged lines hidden (view full) --- 111 112int setup_purgatory(struct kimage *image, const void *slave_code, 113 const void *fdt, unsigned long kernel_load_addr, 114 unsigned long fdt_load_addr); 115int setup_new_fdt(const struct kimage *image, void *fdt, 116 unsigned long initrd_load_addr, unsigned long initrd_len, 117 const char *cmdline); 118int delete_fdt_mem_rsv(void *fdt, unsigned long start, unsigned long size); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_POWERPC_KEXEC_H 3#define _ASM_POWERPC_KEXEC_H 4#ifdef __KERNEL__ 5 6#if defined(CONFIG_FSL_BOOKE) || defined(CONFIG_44x) 7 8/* --- 102 unchanged lines hidden (view full) --- 111 112int setup_purgatory(struct kimage *image, const void *slave_code, 113 const void *fdt, unsigned long kernel_load_addr, 114 unsigned long fdt_load_addr); 115int setup_new_fdt(const struct kimage *image, void *fdt, 116 unsigned long initrd_load_addr, unsigned long initrd_len, 117 const char *cmdline); 118int delete_fdt_mem_rsv(void *fdt, unsigned long start, unsigned long size); |
119 120#ifdef CONFIG_PPC64 121int setup_purgatory_ppc64(struct kimage *image, const void *slave_code, 122 const void *fdt, unsigned long kernel_load_addr, 123 unsigned long fdt_load_addr); 124int setup_new_fdt_ppc64(const struct kimage *image, void *fdt, 125 unsigned long initrd_load_addr, 126 unsigned long initrd_len, const char *cmdline); 127#endif /* CONFIG_PPC64 */ |
|
119#endif /* CONFIG_KEXEC_FILE */ 120 121#else /* !CONFIG_KEXEC_CORE */ 122static inline void crash_kexec_secondary(struct pt_regs *regs) { } 123 124static inline int overlaps_crashkernel(unsigned long start, unsigned long size) 125{ 126 return 0; --- 41 unchanged lines hidden --- | 128#endif /* CONFIG_KEXEC_FILE */ 129 130#else /* !CONFIG_KEXEC_CORE */ 131static inline void crash_kexec_secondary(struct pt_regs *regs) { } 132 133static inline int overlaps_crashkernel(unsigned long start, unsigned long size) 134{ 135 return 0; --- 41 unchanged lines hidden --- |