]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/oprofile/nmi_int.c
Merge commit 'tip/perfcounters-for-linus' into oprofile/master
[karo-tx-linux.git] / arch / x86 / oprofile / nmi_int.c
index 80b63d5db50918b840677f96e952eeed63f7b8c2..7826dfcc842823a7a893b4e2831c34864597b1c7 100644 (file)
@@ -60,8 +60,9 @@ static int profile_exceptions_notify(struct notifier_block *self,
 
        switch (val) {
        case DIE_NMI:
-               if (model->check_ctrs(args->regs, &per_cpu(cpu_msrs, cpu)))
-                       ret = NOTIFY_STOP;
+       case DIE_NMI_IPI:
+               model->check_ctrs(args->regs, &per_cpu(cpu_msrs, cpu));
+               ret = NOTIFY_STOP;
                break;
        default:
                break;
@@ -146,7 +147,7 @@ static void nmi_cpu_setup(void *dummy)
 static struct notifier_block profile_exceptions_nb = {
        .notifier_call = profile_exceptions_notify,
        .next = NULL,
-       .priority = 0
+       .priority = 2
 };
 
 static int nmi_setup(void)