aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/error-injection.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/error-injection.h')
-rw-r--r--arch/powerpc/include/asm/error-injection.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/error-injection.h b/arch/powerpc/include/asm/error-injection.h
new file mode 100644
index 000000000000..62fd24739852
--- /dev/null
+++ b/arch/powerpc/include/asm/error-injection.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+#ifndef _ASM_ERROR_INJECTION_H
+#define _ASM_ERROR_INJECTION_H
+
+#include <linux/compiler.h>
+#include <linux/linkage.h>
+#include <asm/ptrace.h>
+#include <asm-generic/error-injection.h>
+
+void override_function_with_return(struct pt_regs *regs);
+
+#endif /* _ASM_ERROR_INJECTION_H */