From: Gerd Hoffmann Date: Tue, 3 Jun 2008 14:17:29 +0000 (+0200) Subject: x86: Add structs and functions for paravirt clocksource X-Git-Tag: v2.6.26-rc8~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7af192c954017499ec163bc9dbaaee2e593d7ef2;p=pandora-kernel.git x86: Add structs and functions for paravirt clocksource This patch adds structs for the paravirt clocksource ABI used by both xen and kvm (pvclock-abi.h). It also adds some helper functions to read system time and wall clock time from a paravirtual clocksource (pvclock.[ch]). They are based on the xen code. They are enabled using CONFIG_PARAVIRT_CLOCK. Subsequent patches of this series will put the code in use. Signed-off-by: Gerd Hoffmann Acked-by: Jeremy Fitzhardinge Signed-off-by: Avi Kivity --- Reading git-diff-tree failed