diff options
author | Keir Fraser <keir@xensource.com> | 2007-10-29 16:49:02 +0000 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-10-29 16:49:02 +0000 |
commit | e33d4a73162dac1fe6861f3a5e96de89e30b6a91 (patch) | |
tree | 6426b7d4c5d273bc21191ebf17e616d07bb4f8cb /xen/include/asm-x86/io_apic.h | |
parent | 8fbfe1c9c1c7a954bcb1d6c2142c75196ca2d9cd (diff) | |
download | xen-e33d4a73162dac1fe6861f3a5e96de89e30b6a91.tar.gz xen-e33d4a73162dac1fe6861f3a5e96de89e30b6a91.tar.bz2 xen-e33d4a73162dac1fe6861f3a5e96de89e30b6a91.zip |
x86: allow pv guests to disable TSC for applications
Linux, under CONFIG_SECCOMP, has been capable of hiding the TSC from
processes for quite a while. This patch enables this to actually work
for pv kernels, by allowing them to control CR4.TSD (and, as a simple
thing to do at the same time, CR4.DE).
Applies cleanly only on top of the previously submitted debug register
handling patch.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Also clean up CR4 and EFER handling, and hack-n-slash header file
inclusion madness to get the tree building again.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/io_apic.h')
-rw-r--r-- | xen/include/asm-x86/io_apic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/asm-x86/io_apic.h b/xen/include/asm-x86/io_apic.h index b8731bf278..e8e102a6b8 100644 --- a/xen/include/asm-x86/io_apic.h +++ b/xen/include/asm-x86/io_apic.h @@ -2,9 +2,10 @@ #define __ASM_IO_APIC_H #include <xen/config.h> -#include <asm/fixmap.h> #include <asm/types.h> #include <asm/mpspec.h> +#include <asm/apicdef.h> +#include <asm/fixmap.h> /* * Intel IO-APIC support for SMP and UP systems. |