]> err.no Git - linux-2.6/blobdiff - arch/x86_64/kernel/mce.c
[PATCH] zd1211rw: disable TX queue during stop
[linux-2.6] / arch / x86_64 / kernel / mce.c
index 6f0790e8b6d3b50af3d6774ed4e127f00632076d..88845674c661a39feefc5b35bb5c5dd9b2255be8 100644 (file)
@@ -562,7 +562,7 @@ static struct sysdev_class mce_sysclass = {
        set_kset_name("machinecheck"),
 };
 
-static DEFINE_PER_CPU(struct sys_device, device_mce);
+DEFINE_PER_CPU(struct sys_device, device_mce);
 
 /* Why are there no generic functions for this? */
 #define ACCESSOR(name, var, start) \
@@ -647,7 +647,7 @@ mce_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu)
        return NOTIFY_OK;
 }
 
-static struct notifier_block mce_cpu_notifier = {
+static struct notifier_block __cpuinitdata mce_cpu_notifier = {
        .notifier_call = mce_cpu_callback,
 };