]> err.no Git - linux-2.6/commitdiff
[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 e5e56bd498dbcf0d650fe22152ad98e6c5d62a8e..751b4a18b1331f6c267a41c9a2215f2023c20ad0 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,
 };