提交 4fcaa982 编写于 作者: A Avi Kivity

KVM: Remove pointless desc_ptr #ifdef

The desc_struct changes left an unnecessary #ifdef; remove it.
Signed-off-by: NAvi Kivity <avi@qumranet.com>
上级 019960ae
...@@ -290,11 +290,7 @@ static void svm_hardware_enable(void *garbage) ...@@ -290,11 +290,7 @@ static void svm_hardware_enable(void *garbage)
struct svm_cpu_data *svm_data; struct svm_cpu_data *svm_data;
uint64_t efer; uint64_t efer;
#ifdef CONFIG_X86_64
struct desc_ptr gdt_descr;
#else
struct desc_ptr gdt_descr; struct desc_ptr gdt_descr;
#endif
struct desc_struct *gdt; struct desc_struct *gdt;
int me = raw_smp_processor_id(); int me = raw_smp_processor_id();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册