xen/mce: Add mcelog support for Xen platform
[deliverable/linux.git] / arch / x86 / kernel / cpu / mcheck / mce.c
index da27c5d2168a74c29e3d1da16d108ef7017113c8..aa7548799af4a36e71bc08f135ea7d3a32df9be8 100644 (file)
@@ -57,8 +57,6 @@ static DEFINE_MUTEX(mce_chrdev_read_mutex);
 
 int mce_disabled __read_mostly;
 
-#define MISC_MCELOG_MINOR      227
-
 #define SPINUNIT 100   /* 100ns */
 
 atomic_t mce_entry;
@@ -2342,7 +2340,7 @@ static __init int mcheck_init_device(void)
 
        return err;
 }
-device_initcall(mcheck_init_device);
+device_initcall_sync(mcheck_init_device);
 
 /*
  * Old style boot options parsing. Only for compatibility.
This page took 0.026522 seconds and 5 git commands to generate.