[PATCH] Fix fast TSC calibration

From: Julian Wollrath
Date: Tue Mar 11 2014 - 13:05:43 EST


Since commit 73f7d1ca32638028e3271f54616773727e2f9f26 the fast TSC calibration
failed on a Thinkpad X121e with an AMD E450 APU. Moving acpi_early_init() after
late_time_init() fixes this.

Signed-off-by: Julian Wollrath <jwollrath@xxxxxx>
---
init/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/main.c b/init/main.c
index eb03090cdced..bf9d99148bd6 100644
--- a/init/main.c
+++ b/init/main.c
@@ -561,7 +561,6 @@ asmlinkage void __init start_kernel(void)
init_timers();
hrtimers_init();
softirq_init();
- acpi_early_init();
timekeeping_init();
time_init();
sched_clock_postinit();
@@ -609,6 +608,7 @@ asmlinkage void __init start_kernel(void)
numa_policy_init();
if (late_time_init)
late_time_init();
+ acpi_early_init();
sched_clock_init();
calibrate_delay();
pidmap_init();
--
1.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/