]> git.baikalelectronics.ru Git - kernel.git/commit
x86: use standard PIT frequency
authorIngo Molnar <mingo@elte.hu>
Sun, 25 Jan 2009 15:57:00 +0000 (16:57 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 25 Jan 2009 15:57:47 +0000 (16:57 +0100)
commit433658742e84a48abf2edd85009c88c107dc9238
tree97fbbe38a97798398773fff8b0cae47c33c8a2dd
parentc136a3c8d0d14412756a115a388622c6d899e34b
x86: use standard PIT frequency

the RDC and ELAN platforms use slighly different PIT clocks, resulting in
a timex.h hack that changes PIT_TICK_RATE during build time. But if a
tester enables any of these platform support .config options, the PIT
will be miscalibrated on standard PC platforms.

So use one frequency - in a subsequent patch we'll add a quirk to allow
x86 platforms to define different PIT frequencies.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/timex.h