aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/kprobes_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/kprobes_64.c')
-rw-r--r--arch/x86/kernel/kprobes_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/kprobes_64.c b/arch/x86/kernel/kprobes_64.c
index 3db3611933d8..0c467644589c 100644
--- a/arch/x86/kernel/kprobes_64.c
+++ b/arch/x86/kernel/kprobes_64.c
@@ -58,7 +58,7 @@ const int kretprobe_blacklist_size = ARRAY_SIZE(kretprobe_blacklist);
58/* 58/*
59 * returns non-zero if opcode modifies the interrupt flag. 59 * returns non-zero if opcode modifies the interrupt flag.
60 */ 60 */
61static __always_inline int is_IF_modifier(kprobe_opcode_t *insn) 61static int __kprobes is_IF_modifier(kprobe_opcode_t *insn)
62{ 62{
63 switch (*insn) { 63 switch (*insn) {
64 case 0xfa: /* cli */ 64 case 0xfa: /* cli */