]> git.baikalelectronics.ru Git - kernel.git/commit
timers/x86/hpet: Use HPET_COUNTER to specify the hpet counter in vread_hpet()
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Fri, 15 Feb 2013 07:58:14 +0000 (16:58 +0900)
committerIngo Molnar <mingo@kernel.org>
Fri, 15 Feb 2013 11:13:18 +0000 (12:13 +0100)
commit028c2e2f690bb9a46c8d03affd0e3435c0683047
treeb74f1cec44f54b4f4ddf12884bda6e4fbd697bbb
parentea658e91f19cf3e8c47857e8a71950e200a271ef
timers/x86/hpet: Use HPET_COUNTER to specify the hpet counter in vread_hpet()

vread_hpet() uses "0xf0" as the offset of the hpet counter. To
clarify the meaning of this code, it should use symbolic name,
HPET_COUNTER, instead.

Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Cc: H. Peter Anvin <hpa@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/vdso/vclock_gettime.c