diff options
author | Liu, Jinsong <jinsong.liu@intel.com> | 2011-09-22 16:53:58 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-09-25 19:53:00 +0300 |
commit | b90dfb0419a79a90395e04fee3fbda3c12ba8237 (patch) | |
tree | e0856504ba6a8ad3197d674a49b23d3a58412320 /arch/x86/include/asm/apicdef.h | |
parent | 7460fb4a340033107530df19e7e125bd0969bfb2 (diff) | |
download | linux-stable-b90dfb0419a79a90395e04fee3fbda3c12ba8237.tar.gz linux-stable-b90dfb0419a79a90395e04fee3fbda3c12ba8237.tar.bz2 linux-stable-b90dfb0419a79a90395e04fee3fbda3c12ba8237.zip |
x86: TSC deadline definitions
This pre-defination is preparing for KVM tsc deadline timer emulation, but
theirself are not kvm specific.
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/apicdef.h')
-rw-r--r-- | arch/x86/include/asm/apicdef.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/apicdef.h b/arch/x86/include/asm/apicdef.h index 34595d5e1038..3925d8007864 100644 --- a/arch/x86/include/asm/apicdef.h +++ b/arch/x86/include/asm/apicdef.h @@ -100,7 +100,9 @@ #define APIC_TIMER_BASE_CLKIN 0x0 #define APIC_TIMER_BASE_TMBASE 0x1 #define APIC_TIMER_BASE_DIV 0x2 +#define APIC_LVT_TIMER_ONESHOT (0 << 17) #define APIC_LVT_TIMER_PERIODIC (1 << 17) +#define APIC_LVT_TIMER_TSCDEADLINE (2 << 17) #define APIC_LVT_MASKED (1 << 16) #define APIC_LVT_LEVEL_TRIGGER (1 << 15) #define APIC_LVT_REMOTE_IRR (1 << 14) |