x86: make sure we really have an hpet mapping before using it
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 16 Dec 2008 20:32:23 +0000 (12:32 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 21:01:46 +0000 (22:01 +0100)
Impact: prepare the hpet code for Xen dom0 booting

When booting in Xen dom0, the hpet isn't really accessible, so make
sure the mapping is non-NULL before use.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found