]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ia64/kernel/kprobes.c
kprobes: check CONFIG_FREEZER instead of CONFIG_PM
[linux-2.6-omap-h63xx.git] / arch / ia64 / kernel / kprobes.c
index f90be51b1123fe12199da46e019c5c20f0b2b371..9adac441ac9bb1f4400a6620951d7e07bbdcdfbe 100644 (file)
@@ -870,7 +870,7 @@ static int __kprobes pre_kprobes_handler(struct die_args *args)
                return 1;
 
 ss_probe:
-#if !defined(CONFIG_PREEMPT) || defined(CONFIG_PM)
+#if !defined(CONFIG_PREEMPT) || defined(CONFIG_FREEZER)
        if (p->ainsn.inst_flag == INST_FLAG_BOOSTABLE && !p->post_handler) {
                /* Boost up -- we can execute copied instructions directly */
                ia64_psr(regs)->ri = p->ainsn.slot;