From patchwork Wed Jan 7 10:16:42 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark McLoughlin X-Patchwork-Id: 1121 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 n07ADFBW028203 for ; Wed, 7 Jan 2009 02:13:16 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750713AbZAGKQs (ORCPT ); Wed, 7 Jan 2009 05:16:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750784AbZAGKQs (ORCPT ); Wed, 7 Jan 2009 05:16:48 -0500 Received: from mx2.redhat.com ([66.187.237.31]:48255 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750713AbZAGKQs (ORCPT ); Wed, 7 Jan 2009 05:16:48 -0500 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 n07AGi3g022268 for ; Wed, 7 Jan 2009 05:16:44 -0500 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 n07AGi7e008022; Wed, 7 Jan 2009 05:16:45 -0500 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n07AGhge012837; Wed, 7 Jan 2009 05:16:44 -0500 Subject: [PATCH] kvm: qemu: fix kvm_tpr_opt_setup() args From: Mark McLoughlin Reply-To: Mark McLoughlin To: Avi Kivity Cc: kvm Date: Wed, 07 Jan 2009 10:16:42 +0000 Message-Id: <1231323402.5050.6.camel@localhost.localdomain> Mime-Version: 1.0 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 Fixes: qemu-kvm.h:110: warning: function declaration isn’t a prototype Signed-off-by: Mark McLoughlin --- qemu/kvm-tpr-opt.c | 2 +- qemu/qemu-kvm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/kvm-tpr-opt.c b/qemu/kvm-tpr-opt.c index f2a3a1e..b3d26aa 100644 --- a/qemu/kvm-tpr-opt.c +++ b/qemu/kvm-tpr-opt.c @@ -370,7 +370,7 @@ static void vtpr_ioport_write(void *opaque, uint32_t addr, uint32_t val) enable_vapic(env); } -void kvm_tpr_opt_setup(CPUState *env) +void kvm_tpr_opt_setup(void) { register_savevm("kvm-tpr-opt", 0, 1, tpr_save, tpr_load, NULL); register_ioport_write(0x7e, 1, 1, vtpr_ioport_write, NULL); diff --git a/qemu/qemu-kvm.h b/qemu/qemu-kvm.h index 896df4e..12bd5a0 100644 --- a/qemu/qemu-kvm.h +++ b/qemu/qemu-kvm.h @@ -107,7 +107,7 @@ void qemu_kvm_aio_wait_end(void); void qemu_kvm_notify_work(void); -void kvm_tpr_opt_setup(); +void kvm_tpr_opt_setup(void); void kvm_tpr_access_report(CPUState *env, uint64_t rip, int is_write); int handle_tpr_access(void *opaque, int vcpu, uint64_t rip, int is_write);