Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / csky / lib / error-inject.c
blobc15fb36fe0670efbb57e728b987657f7f787d676
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->lr);
10 NOKPROBE_SYMBOL(override_function_with_return);