From patchwork Thu Jun 17 06:17:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sheng Yang X-Patchwork-Id: 106613 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5H6Hjau003439 for ; Thu, 17 Jun 2010 06:17:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754009Ab0FQGRY (ORCPT ); Thu, 17 Jun 2010 02:17:24 -0400 Received: from mga14.intel.com ([143.182.124.37]:29778 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753672Ab0FQGRV (ORCPT ); Thu, 17 Jun 2010 02:17:21 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 16 Jun 2010 23:17:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.53,430,1272870000"; d="scan'208";a="289859697" Received: from syang10-desktop.sh.intel.com (HELO syang10-desktop) ([10.239.36.189]) by azsmga001.ch.intel.com with ESMTP; 16 Jun 2010 23:17:19 -0700 Received: from yasker by syang10-desktop with local (Exim 4.71) (envelope-from ) id 1OP8Pu-0007Lm-R7; Thu, 17 Jun 2010 14:17:34 +0800 From: Sheng Yang To: Marcelo Tosatti , Avi Kivity Cc: kvm@vger.kernel.org, Sheng Yang Subject: [PATCH] qemu: kvm: Fix cpu_is_bsp() compilation warning Date: Thu, 17 Jun 2010 14:17:33 +0800 Message-Id: <1276755453-28228-1-git-send-email-sheng@linux.intel.com> X-Mailer: git-send-email 1.7.0.4 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 17 Jun 2010 06:17:45 +0000 (UTC) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 9efb3e7..5a088a7 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