summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/error-injection.h
blob: 47b7a1296245edc0698d46786dc13ed48e659c48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>

asmlinkage void just_return_func(void);
void override_function_with_return(struct pt_regs *regs);

#endif /* _ASM_ERROR_INJECTION_H */
OpenPOWER on IntegriCloud