Merge branch 'linus' into perfcounters/core-v2
[linux-drm-fsl-dcu.git] / arch / x86 / kernel / cpu / common.c
index c4f667896c28f1a3eb7e6ae33341f5ba98f74c98..a86769efe0dff9dc5d075a3f13543f314331d29f 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/io.h>
 
 #include <asm/stackprotector.h>
+#include <asm/perf_counter.h>
 #include <asm/mmu_context.h>
 #include <asm/hypervisor.h>
 #include <asm/processor.h>
@@ -854,6 +855,7 @@ void __init identify_boot_cpu(void)
 #else
        vgetcpu_set_mode();
 #endif
+       init_hw_perf_counters();
 }
 
 void __cpuinit identify_secondary_cpu(struct cpuinfo_x86 *c)