diff options
Diffstat (limited to 'arch/i386/kernel/hpet.c')
-rw-r--r-- | arch/i386/kernel/hpet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/hpet.c b/arch/i386/kernel/hpet.c index 23e7d2c5d253..c6737c35815d 100644 --- a/arch/i386/kernel/hpet.c +++ b/arch/i386/kernel/hpet.c | |||
@@ -6,7 +6,7 @@ | |||
6 | #include <asm/hpet.h> | 6 | #include <asm/hpet.h> |
7 | #include <asm/io.h> | 7 | #include <asm/io.h> |
8 | 8 | ||
9 | #define HPET_MASK 0xFFFFFFFF | 9 | #define HPET_MASK CLOCKSOURCE_MASK(32) |
10 | #define HPET_SHIFT 22 | 10 | #define HPET_SHIFT 22 |
11 | 11 | ||
12 | /* FSEC = 10^-15 NSEC = 10^-9 */ | 12 | /* FSEC = 10^-15 NSEC = 10^-9 */ |
@@ -23,7 +23,7 @@ static struct clocksource clocksource_hpet = { | |||
23 | .name = "hpet", | 23 | .name = "hpet", |
24 | .rating = 250, | 24 | .rating = 250, |
25 | .read = read_hpet, | 25 | .read = read_hpet, |
26 | .mask = (cycle_t)HPET_MASK, | 26 | .mask = HPET_MASK, |
27 | .mult = 0, /* set below */ | 27 | .mult = 0, /* set below */ |
28 | .shift = HPET_SHIFT, | 28 | .shift = HPET_SHIFT, |
29 | .is_continuous = 1, | 29 | .is_continuous = 1, |