kvm/powerpc: extern one function for MPC85xx code use
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 24 Jan 2009 16:35:56 +0000 (16:35 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 24 Jan 2009 16:35:56 +0000 (16:35 +0000)
Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6427 c046a42c-6fe2-441c-8c8c-71466251a162

target-ppc/kvm_ppc.c
target-ppc/kvm_ppc.h

index f7ce52b04519bbac8c6bd054c69948f636c08dd4..82c0f42098238d623a7f069386a68b397e3061dc 100644 (file)
@@ -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;
index e536a881e9437ae8632d6218873914ba47fa7028..3792ef725142000d065871e745202d3904e66f5b 100644 (file)
@@ -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__ */