| Masami Hiramatsu | 540adea | 2018-01-13 02:55:03 +0900 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _ASM_ERROR_INJECTION_H | ||||
| 3 | #define _ASM_ERROR_INJECTION_H | ||||
| 4 | |||||
| 5 | #include <linux/compiler.h> | ||||
| 6 | #include <linux/linkage.h> | ||||
| 7 | #include <asm/ptrace.h> | ||||
| 8 | #include <asm-generic/error-injection.h> | ||||
| 9 | |||||
| 10 | asmlinkage void just_return_func(void); | ||||
| 11 | void override_function_with_return(struct pt_regs *regs); | ||||
| 12 | |||||
| 13 | #endif /* _ASM_ERROR_INJECTION_H */ | ||||