From patchwork Thu Jul 9 12:33:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 34806 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n69CY3ee000442 for ; Thu, 9 Jul 2009 12:34:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759058AbZGIMeA (ORCPT ); Thu, 9 Jul 2009 08:34:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759129AbZGIMd7 (ORCPT ); Thu, 9 Jul 2009 08:33:59 -0400 Received: from mx2.redhat.com ([66.187.237.31]:52975 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757388AbZGIMd6 (ORCPT ); Thu, 9 Jul 2009 08:33:58 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n69CXwJ3006886 for ; Thu, 9 Jul 2009 08:33:58 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n69CXvle021408; Thu, 9 Jul 2009 08:33:57 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n69CXtH3003380; Thu, 9 Jul 2009 08:33:56 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id CE73418D47B; Thu, 9 Jul 2009 15:33:54 +0300 (IDT) From: Gleb Natapov To: avi@redhat.com Cc: kvm@vger.kernel.org Subject: [PATCH] kvm_cpu_get_interrupt() is implemented only by x86. Date: Thu, 9 Jul 2009 15:33:53 +0300 Message-Id: <1247142834-16993-3-git-send-email-gleb@redhat.com> X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Move it from global .h file to arch/x86 Signed-off-by: Gleb Natapov --- arch/x86/include/asm/kvm_host.h | 1 + include/linux/kvm_host.h | 1 - 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index bbc9727..08732d7 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -799,5 +799,6 @@ int kvm_age_hva(struct kvm *kvm, unsigned long hva); int cpuid_maxphyaddr(struct kvm_vcpu *vcpu); int kvm_cpu_has_interrupt(struct kvm_vcpu *vcpu); int kvm_arch_interrupt_allowed(struct kvm_vcpu *vcpu); +int kvm_cpu_get_interrupt(struct kvm_vcpu *v); #endif /* _ASM_X86_KVM_HOST_H */ diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 3778081..f54a0d3 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -334,7 +334,6 @@ void kvm_arch_destroy_vm(struct kvm *kvm); void kvm_free_all_assigned_devices(struct kvm *kvm); void kvm_arch_sync_events(struct kvm *kvm); -int kvm_cpu_get_interrupt(struct kvm_vcpu *v); int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu); void kvm_vcpu_kick(struct kvm_vcpu *vcpu);