Browse Source

[MIPS] clocksource: use CLOCKSOURCE_MASK() macro

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Franck Bui-Huu 18 years ago
parent
commit
55d0b4e3f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/mips/kernel/time.c

+ 1 - 1
arch/mips/kernel/time.c

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