diff options
| -rw-r--r-- | include/asm-ia64/kvm.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-ia64/kvm.h b/include/asm-ia64/kvm.h index eb2d3559d089..a1da4c465fb5 100644 --- a/include/asm-ia64/kvm.h +++ b/include/asm-ia64/kvm.h | |||
| @@ -22,7 +22,6 @@ | |||
| 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 | ||
| @@ -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 | ||
