X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=arch%2Fxtensa%2Fkernel%2Ftime.c;h=937d81f62f43e73e90e75e1280a0ef899cbbadbe;hb=536ea4e4198eeaa5a73fb734ea675e621609bb7e;hp=1ac7d5ce7456659ecf771df51580aacdb8282454;hpb=87129d96265cebcb1176896746d285b46c2d7b36;p=powerpc.git diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c index 1ac7d5ce74..937d81f62f 100644 --- a/arch/xtensa/kernel/time.c +++ b/arch/xtensa/kernel/time.c @@ -29,9 +29,6 @@ extern volatile unsigned long wall_jiffies; -u64 jiffies_64 = INITIAL_JIFFIES; -EXPORT_SYMBOL(jiffies_64); - spinlock_t rtc_lock = SPIN_LOCK_UNLOCKED; EXPORT_SYMBOL(rtc_lock); @@ -68,7 +65,7 @@ void __init time_init(void) * speed for the CALIBRATE. */ -#if CONFIG_XTENSA_CALIBRATE_CCOUNT +#ifdef CONFIG_XTENSA_CALIBRATE_CCOUNT printk("Calibrating CPU frequency "); platform_calibrate_ccount(); printk("%d.%02d MHz\n", (int)ccount_per_jiffy/(1000000/HZ), @@ -204,7 +201,7 @@ again: if ((signed long)(get_ccount() - next) > 0) goto again; - /* Allow platform to do something usefull (Wdog). */ + /* Allow platform to do something useful (Wdog). */ platform_heartbeat();