diff options
Diffstat (limited to 'include/asm-ia64/kvm.h')
| -rw-r--r-- | include/asm-ia64/kvm.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/asm-ia64/kvm.h b/include/asm-ia64/kvm.h index eb2d3559d089..3f6a090cbd9a 100644 --- a/include/asm-ia64/kvm.h +++ b/include/asm-ia64/kvm.h | |||
| @@ -22,14 +22,13 @@ | |||
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| 24 | #include <asm/types.h> | 24 | #include <asm/types.h> |
| 25 | #include <asm/fpu.h> | ||
| 26 | 25 | ||
| 27 | #include <linux/ioctl.h> | 26 | #include <linux/ioctl.h> |
| 28 | 27 | ||
| 29 | /* Architectural interrupt line count. */ | 28 | /* Architectural interrupt line count. */ |
| 30 | #define KVM_NR_INTERRUPTS 256 | 29 | #define KVM_NR_INTERRUPTS 256 |
| 31 | 30 | ||
| 32 | #define KVM_IOAPIC_NUM_PINS 24 | 31 | #define KVM_IOAPIC_NUM_PINS 48 |
| 33 | 32 | ||
| 34 | struct kvm_ioapic_state { | 33 | struct kvm_ioapic_state { |
| 35 | __u64 base_address; | 34 | __u64 base_address; |
| @@ -61,6 +60,13 @@ struct kvm_ioapic_state { | |||
| 61 | 60 | ||
| 62 | #define KVM_CONTEXT_SIZE 8*1024 | 61 | #define KVM_CONTEXT_SIZE 8*1024 |
| 63 | 62 | ||
| 63 | struct kvm_fpreg { | ||
| 64 | union { | ||
| 65 | unsigned long bits[2]; | ||
| 66 | long double __dummy; /* force 16-byte alignment */ | ||
| 67 | } u; | ||
| 68 | }; | ||
| 69 | |||
| 64 | union context { | 70 | union context { |
| 65 | /* 8K size */ | 71 | /* 8K size */ |
| 66 | char dummy[KVM_CONTEXT_SIZE]; | 72 | char dummy[KVM_CONTEXT_SIZE]; |
| @@ -77,7 +83,7 @@ union context { | |||
| 77 | unsigned long ibr[8]; | 83 | unsigned long ibr[8]; |
| 78 | unsigned long dbr[8]; | 84 | unsigned long dbr[8]; |
| 79 | unsigned long pkr[8]; | 85 | unsigned long pkr[8]; |
| 80 | struct ia64_fpreg fr[128]; | 86 | struct kvm_fpreg fr[128]; |
| 81 | }; | 87 | }; |
| 82 | }; | 88 | }; |
| 83 | 89 | ||
