summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/time.c
diff options
context:
space:
mode:
authorFranck Bui-Huu <fbuihuu@gmail.com>2007-05-04 17:36:44 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-05-11 15:28:31 +0200
commit55d0b4e3f6526daf1cc7449028bf5d4c304a6a69 (patch)
treead99cd69224a755acf23225e9d8a5671003a1bcc /arch/mips/kernel/time.c
parent[MIPS] Remove LIMITED_DMA support (diff)
downloadlinux-55d0b4e3f6526daf1cc7449028bf5d4c304a6a69.tar.xz
linux-55d0b4e3f6526daf1cc7449028bf5d4c304a6a69.zip
[MIPS] clocksource: use CLOCKSOURCE_MASK() macro
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/time.c')
-rw-r--r--arch/mips/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index e5e56bd498db..751b4a18b133 100644
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -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,
};