|
@@ -446,7 +446,7 @@ void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri,
|
|
|
static void __kprobes setup_singlestep(struct kprobe *p, struct pt_regs *regs,
|
|
|
struct kprobe_ctlblk *kcb)
|
|
|
{
|
|
|
-#if !defined(CONFIG_PREEMPT) || defined(CONFIG_PM)
|
|
|
+#if !defined(CONFIG_PREEMPT) || defined(CONFIG_FREEZER)
|
|
|
if (p->ainsn.boostable == 1 && !p->post_handler) {
|
|
|
/* Boost up -- we can execute copied instructions directly */
|
|
|
reset_current_kprobe();
|