[MIPS] clocksource: use CLOCKSOURCE_MASK() macro
authorFranck Bui-Huu <fbuihuu@gmail.com>
Fri, 4 May 2007 15:36:44 +0000 (17:36 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 11 May 2007 13:28:31 +0000 (14:28 +0100)
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/time.c

index e5e56bd..751b4a1 100644 (file)
@@ -306,7 +306,7 @@ static unsigned int __init calibrate_hpt(void)
 
 struct clocksource clocksource_mips = {
        .name           = "MIPS",
-       .mask           = 0xffffffff,
+       .mask           = CLOCKSOURCE_MASK(32),
        .flags          = CLOCK_SOURCE_IS_CONTINUOUS,
 };