Patchwork [7/7] kvm: Fix cpu_is_bsp() compilation warning

login
register
mail settings
Submitter Marcelo Tosatti
Date June 28, 2010, 4:14 p.m.
Message ID <408392b30d685e36c9f8dd67910d72157443ad27.1277741654.git.mtosatti@redhat.com>
Download mbox | patch
Permalink /patch/57159/
State New
Headers show

Comments

Marcelo Tosatti - June 28, 2010, 4:14 p.m.
From: Sheng Yang <sheng@linux.intel.com>

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
---
 target-i386/kvm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index 576d3b5..a33d2fa 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -25,6 +25,7 @@ 
 #include "gdbstub.h"
 #include "host-utils.h"
 #include "hw/pc.h"
+#include "hw/apic.h"
 #include "ioport.h"
 
 #ifdef CONFIG_KVM_PARA