HID: usbhid: add quirk HID_QUIRK_NOGET to TPV optical touchscreen
[firefly-linux-kernel-4.4.55.git] / kernel / kprobes.c
index 35b4315d84f578104a0ea322861d43773c52e625..098f396aa40984d0b49f246b45dd059b88e9acdf 100644 (file)
@@ -1418,9 +1418,6 @@ static __kprobes int check_kprobe_address_safe(struct kprobe *p,
                /* Given address is not on the instruction boundary */
                if ((unsigned long)p->addr != ftrace_addr)
                        return -EILSEQ;
-               /* break_handler (jprobe) can not work with ftrace */
-               if (p->break_handler)
-                       return -EINVAL;
                p->flags |= KPROBE_FLAG_FTRACE;
 #else  /* !KPROBES_CAN_USE_FTRACE */
                return -EINVAL;