Merge commit 'v2.6.35' into kbuild/kbuild
[deliverable/linux.git] / arch / x86 / kernel / cpuid.c
index 8b862d5900fe4a29b6bc100770e371db41ee0d91..1b7b31ab7d86536ecde1d68034cf882216ac32a6 100644 (file)
@@ -170,7 +170,7 @@ static int __cpuinit cpuid_class_cpu_callback(struct notifier_block *nfb,
                cpuid_device_destroy(cpu);
                break;
        }
-       return err ? NOTIFY_BAD : NOTIFY_OK;
+       return notifier_from_errno(err);
 }
 
 static struct notifier_block __refdata cpuid_class_cpu_notifier =
This page took 0.029817 seconds and 5 git commands to generate.