]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/kprobes.c
kprobes: check CONFIG_FREEZER instead of CONFIG_PM
[linux-2.6-omap-h63xx.git] / kernel / kprobes.c
index 1b9cbdc0127ad5416aed125ad875badae744d8f8..7ba8cd9845cbe90aee7b1c54711633ad827e24ca 100644 (file)
@@ -123,7 +123,7 @@ static int collect_garbage_slots(void);
 static int __kprobes check_safety(void)
 {
        int ret = 0;
-#if defined(CONFIG_PREEMPT) && defined(CONFIG_PM)
+#if defined(CONFIG_PREEMPT) && defined(CONFIG_FREEZER)
        ret = freeze_processes();
        if (ret == 0) {
                struct task_struct *p, *q;