]> err.no Git - linux-2.6/blobdiff - arch/mips/dec/time.c
[PATCH] zd1211rw: disable TX queue during stop
[linux-2.6] / arch / mips / dec / time.c
index 74cb055d4bf64d859923a6aeb33fa23bded02f84..76e4d09ff4d2bc55ddd11acee8d5b25b5d28f509 100644 (file)
@@ -181,7 +181,7 @@ void __init dec_time_init(void)
        }
 
        /* Set up the rate of periodic DS1287 interrupts.  */
-       CMOS_WRITE(RTC_REF_CLCK_32KHZ | (16 - LOG_2_HZ), RTC_REG_A);
+       CMOS_WRITE(RTC_REF_CLCK_32KHZ | (16 - __ffs(HZ)), RTC_REG_A);
 }
 
 EXPORT_SYMBOL(do_settimeofday);