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/amd-iommu.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/amd-iommu.h')
-rw-r--r-- | xen/include/asm-x86/amd-iommu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h index fb5c87f94d..e91158b6a7 100644 --- a/xen/include/asm-x86/amd-iommu.h +++ b/xen/include/asm-x86/amd-iommu.h @@ -22,8 +22,8 @@ #include <xen/init.h> #include <xen/types.h> +#include <xen/list.h> #include <xen/spinlock.h> -#include <xen/mm.h> #include <asm/hvm/svm/amd-iommu-defs.h> #define iommu_found() (!list_empty(&amd_iommu_head)) |