summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-07-26 18:34:49 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-26 20:11:57 +0200
commit712aaa1cb1c0a83e5ffb5376e1d7ee3dd539f4e4 (patch)
tree774660d2b396772d084ac4dccc44c37888455206 /arch/ia64
parentalpha: long constant (diff)
downloadlinux-712aaa1cb1c0a83e5ffb5376e1d7ee3dd539f4e4.tar.xz
linux-712aaa1cb1c0a83e5ffb5376e1d7ee3dd539f4e4.zip
use CLOCKSOURCE_MASK() instead of too large constant
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c
index 1169d46126ac..6c0e9e2e1b82 100644
--- a/arch/ia64/kernel/time.c
+++ b/arch/ia64/kernel/time.c
@@ -52,7 +52,7 @@ static struct clocksource clocksource_itc = {
.name = "itc",
.rating = 350,
.read = itc_get_cycles,
- .mask = 0xffffffffffffffff,
+ .mask = CLOCKSOURCE_MASK(64),
.mult = 0, /*to be caluclated*/
.shift = 16,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,