]> git.karo-electronics.de Git - mv-sheeva.git/commit
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)
commit39c04b55240342d0742ac48538d3d8c71bfc0a94
tree13f5bb09b626fb60f7dd1b8d3b506617e585dd9b
parentbacbe9994541c70aa3abd1a013ac738e58d4bfb2
x86: make sure we really have an hpet mapping before using it

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>
arch/x86/kernel/hpet.c