aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/hpet.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2008-01-30 07:30:00 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:00 -0500
commitb10db7f0d2b589a7f88dc3026e150756cb437a28 (patch)
tree92942041770257c78f7271b79d9860eec10bd77c /arch/x86/kernel/hpet.c
parent4c9dc6412247abf4972080c51cd16a58c4009c19 (diff)
time: more timer related cleanups
I was confused by FSEC = 10^15 NSEC statement, plus small whitespace fixes. When there's copyright, there should be GPL. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/hpet.c')
-rw-r--r--arch/x86/kernel/hpet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
index 2f99ee206b95..9ec2ab793042 100644
--- a/arch/x86/kernel/hpet.c
+++ b/arch/x86/kernel/hpet.c
@@ -16,7 +16,8 @@
16#define HPET_MASK CLOCKSOURCE_MASK(32) 16#define HPET_MASK CLOCKSOURCE_MASK(32)
17#define HPET_SHIFT 22 17#define HPET_SHIFT 22
18 18
19/* FSEC = 10^-15 NSEC = 10^-9 */ 19/* FSEC = 10^-15
20 NSEC = 10^-9 */
20#define FSEC_PER_NSEC 1000000 21#define FSEC_PER_NSEC 1000000
21 22
22/* 23/*