projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
019960a
)
KVM: Remove pointless desc_ptr #ifdef
author
Avi Kivity
<avi@qumranet.com>
Wed, 5 Mar 2008 07:33:44 +0000
(09:33 +0200)
committer
Avi Kivity
<avi@qumranet.com>
Sun, 27 Apr 2008 08:53:27 +0000
(11:53 +0300)
The desc_struct changes left an unnecessary #ifdef; remove it.
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/svm.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/svm.c
b/arch/x86/kvm/svm.c
index b2c667fe6832c4a5e36e4b831df2becde15abc6d..51741f96e7fb06d80721542eff09cf2b00ed54d7 100644
(file)
--- a/
arch/x86/kvm/svm.c
+++ b/
arch/x86/kvm/svm.c
@@
-290,11
+290,7
@@
static void svm_hardware_enable(void *garbage)
struct svm_cpu_data *svm_data;
uint64_t efer;
-#ifdef CONFIG_X86_64
- struct desc_ptr gdt_descr;
-#else
struct desc_ptr gdt_descr;
-#endif
struct desc_struct *gdt;
int me = raw_smp_processor_id();