From: Liu Yu Date: Thu, 15 Jan 2009 12:34:16 +0000 Subject: [PATCH 8/9] powerpc/kvm: extern one function for E500 code use Message-Id: <1232022857-2315-9-git-send-email-yu.liu@freescale.com> List-Id: References: <1232022857-2315-1-git-send-email-yu.liu@freescale.com> <1232022857-2315-2-git-send-email-yu.liu@freescale.com> <1232022857-2315-3-git-send-email-yu.liu@freescale.com> <1232022857-2315-4-git-send-email-yu.liu@freescale.com> <1232022857-2315-5-git-send-email-yu.liu@freescale.com> <1232022857-2315-6-git-send-email-yu.liu@freescale.com> <1232022857-2315-7-git-send-email-yu.liu@freescale.com> <1232022857-2315-8-git-send-email-yu.liu@freescale.com> In-Reply-To: <1232022857-2315-8-git-send-email-yu.liu@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: qemu-devel@nongnu.org Cc: Liu Yu , kvm-ppc@vger.kernel.org Signed-off-by: Liu Yu --- target-ppc/kvm_ppc.c | 2 +- target-ppc/kvm_ppc.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/target-ppc/kvm_ppc.c b/target-ppc/kvm_ppc.c index f7ce52b..82c0f42 100644 --- a/target-ppc/kvm_ppc.c +++ b/target-ppc/kvm_ppc.c @@ -22,7 +22,7 @@ static QEMUTimer *kvmppc_timer; static unsigned int kvmppc_timer_rate; #ifdef HAVE_FDT -static int kvmppc_read_host_property(const char *node_path, const char *prop, +int kvmppc_read_host_property(const char *node_path, const char *prop, void *val, size_t len) { char *path; diff --git a/target-ppc/kvm_ppc.h b/target-ppc/kvm_ppc.h index e536a88..3792ef7 100644 --- a/target-ppc/kvm_ppc.h +++ b/target-ppc/kvm_ppc.h @@ -11,5 +11,7 @@ void kvmppc_init(void); void kvmppc_fdt_update(void *fdt); +int kvmppc_read_host_property(const char *node_path, const char *prop, + void *val, size_t len); #endif /* __KVM_PPC_H__ */ -- 1.5.4