x86, mce: remove incorrect __cpuinit for mce_cpu_features()
[cascardo/linux.git] / arch / x86 / kernel / cpu / mcheck / mce_amd_64.c
index a5a5e05..f2ee0ae 100644 (file)
@@ -121,7 +121,7 @@ static long threshold_restart_bank(void *_tr)
 }
 
 /* cpu init entry point, called from mce.c with preempt off */
-void __cpuinit mce_amd_feature_init(struct cpuinfo_x86 *c)
+void mce_amd_feature_init(struct cpuinfo_x86 *c)
 {
        unsigned int bank, block;
        unsigned int cpu = smp_processor_id();
@@ -462,7 +462,7 @@ out_free:
        return err;
 }
 
-static long local_allocate_threshold_blocks(void *_bank)
+static __cpuinit long local_allocate_threshold_blocks(void *_bank)
 {
        unsigned int *bank = _bank;