summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-shmobile/timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/timer.c b/arch/arm/mach-shmobile/timer.c
index cba39d866687..a68919727e24 100644
--- a/arch/arm/mach-shmobile/timer.c
+++ b/arch/arm/mach-shmobile/timer.c
@@ -36,7 +36,8 @@ void __init shmobile_setup_delay(unsigned int max_cpu_core_mhz,
unsigned int value = (1000000 * mult) / (HZ * div);
- lpj_fine = max_cpu_core_mhz * value;
+ if (!preset_lpj)
+ preset_lpj = max_cpu_core_mhz * value;
}
static void __init shmobile_late_time_init(void)