diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2010-11-29 15:14:04 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-29 21:55:25 +0100 |
commit | f69626c632f929adba821474e8885b642fa2a438 (patch) | |
tree | 7880b67cb184963b02f06508abadb5001e53e273 /arch/x86/mach-i386 | |
parent | c448d8c6595a6a2a4725f71b27b2ad41875a0ef6 (diff) | |
download | barebox-f69626c632f929adba821474e8885b642fa2a438.tar.gz barebox-f69626c632f929adba821474e8885b642fa2a438.tar.xz |
clocksource: switch mask to CLOCKSOURCE_MASK
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86/mach-i386')
-rw-r--r-- | arch/x86/mach-i386/pit_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mach-i386/pit_timer.c b/arch/x86/mach-i386/pit_timer.c index b9f805e61f..ec97cee49b 100644 --- a/arch/x86/mach-i386/pit_timer.c +++ b/arch/x86/mach-i386/pit_timer.c @@ -56,7 +56,7 @@ static uint64_t pit_clocksource_read(void) static struct clocksource cs = { .read = pit_clocksource_read, - .mask = 0x0000ffff, + .mask = CLOCKSOURCE_MASK(16), .shift = 10, }; |