Commit ea23bc202234e19bfbea5311f9bcf7bb33b7342f

Authored by aurel32
1 parent b23d3d8f

kvm/powerpc: extern one function for MPC85xx code use

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
... ... @@ -22,7 +22,7 @@ static QEMUTimer *kvmppc_timer;
22 22 static unsigned int kvmppc_timer_rate;
23 23  
24 24 #ifdef HAVE_FDT
25   -static int kvmppc_read_host_property(const char *node_path, const char *prop,
  25 +int kvmppc_read_host_property(const char *node_path, const char *prop,
26 26 void *val, size_t len)
27 27 {
28 28 char *path;
... ...
target-ppc/kvm_ppc.h
... ... @@ -11,5 +11,7 @@
11 11  
12 12 void kvmppc_init(void);
13 13 void kvmppc_fdt_update(void *fdt);
  14 +int kvmppc_read_host_property(const char *node_path, const char *prop,
  15 + void *val, size_t len);
14 16  
15 17 #endif /* __KVM_PPC_H__ */
... ...