1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* 3 * Firmware Assisted dump header file. 4 * 5 * Copyright 2011 IBM Corporation 6 * Author: Mahesh Salgaonkar <mahesh@linux.vne 7 */ 8 9 #ifndef _ASM_POWERPC_FADUMP_H 10 #define _ASM_POWERPC_FADUMP_H 11 12 #ifdef CONFIG_FA_DUMP 13 14 extern int crashing_cpu; 15 16 extern int is_fadump_memory_area(u64 addr, ulo 17 extern int setup_fadump(void); 18 extern int is_fadump_active(void); 19 extern int should_fadump_crash(void); 20 extern void crash_fadump(struct pt_regs *, con 21 extern void fadump_cleanup(void); 22 extern void fadump_append_bootargs(void); 23 24 #else /* CONFIG_FA_DUMP */ 25 static inline int is_fadump_active(void) { ret 26 static inline int should_fadump_crash(void) { 27 static inline void crash_fadump(struct pt_regs 28 static inline void fadump_cleanup(void) { } 29 static inline void fadump_append_bootargs(void 30 #endif /* !CONFIG_FA_DUMP */ 31 32 #if defined(CONFIG_FA_DUMP) || defined(CONFIG_ 33 extern int early_init_dt_scan_fw_dump(unsigned 34 int dept 35 extern int fadump_reserve_mem(void); 36 #endif 37 #endif /* _ASM_POWERPC_FADUMP_H */ 38
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.