diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-02-16 04:27:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-16 11:13:57 -0500 |
commit | 73b08d2aa4245806ef1bdd48463e9a0b045c62cf (patch) | |
tree | 1cd5b3a7b9f889bb6ff1e7fc6c9a95751faad4d7 /arch/i386/kernel/hpet.c | |
parent | 95492e4646e5de8b43d9a7908d6177fb737b61f0 (diff) |
[PATCH] clocksource: replace is_continuous by a flag field
Using a flag filed allows to encode more than one information into a variable.
Preparatory patch for the generic clocksource verification.
[mingo@elte.hu: convert vmitime.c to the new clocksource flag]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386/kernel/hpet.c')
-rw-r--r-- | arch/i386/kernel/hpet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/hpet.c b/arch/i386/kernel/hpet.c index 0b29d41322a2..7d2739fff3a3 100644 --- a/arch/i386/kernel/hpet.c +++ b/arch/i386/kernel/hpet.c | |||
@@ -26,7 +26,7 @@ static struct clocksource clocksource_hpet = { | |||
26 | .mask = 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 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, |
30 | }; | 30 | }; |
31 | 31 | ||
32 | static int __init init_hpet_clocksource(void) | 32 | static int __init init_hpet_clocksource(void) |