Merge tag 'rproc-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc...
[linux.git] / arch / loongarch / lib / error-inject.c
blobafc9e1c7c97388dfe420ba918233a6fe57c59f6c
1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/error-injection.h>
4 #include <linux/kprobes.h>
6 void override_function_with_return(struct pt_regs *regs)
8 instruction_pointer_set(regs, regs->regs[1]);
10 NOKPROBE_SYMBOL(override_function_with_return);