/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _AVM_CRASH_HANDLING_H_ #define _AVM_CRASH_HANDLING_H_ /* stubs for rte crashhandling used insde qca kernel, but only for arm cores */ static inline void avm_rte_panic(const char *str) {} static inline void avm_rte_die(const char *str, struct pt_regs *regs) {} static inline void avm_rte_mark_as_ready(void) { } static inline int in_avm_wdt_handling(void) { return 0; } static inline bool avm_is_rte_crash_handling_enabled(void) { return 0; } #endif /* _AVM_CRASH_HANDLING_H_ */