Commit ea23bc202234e19bfbea5311f9bcf7bb33b7342f
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
Showing
2 changed files
with
3 additions
and
1 deletions
target-ppc/kvm_ppc.c
@@ -22,7 +22,7 @@ static QEMUTimer *kvmppc_timer; | @@ -22,7 +22,7 @@ static QEMUTimer *kvmppc_timer; | ||
22 | static unsigned int kvmppc_timer_rate; | 22 | static unsigned int kvmppc_timer_rate; |
23 | 23 | ||
24 | #ifdef HAVE_FDT | 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 | void *val, size_t len) | 26 | void *val, size_t len) |
27 | { | 27 | { |
28 | char *path; | 28 | char *path; |
target-ppc/kvm_ppc.h
@@ -11,5 +11,7 @@ | @@ -11,5 +11,7 @@ | ||
11 | 11 | ||
12 | void kvmppc_init(void); | 12 | void kvmppc_init(void); |
13 | void kvmppc_fdt_update(void *fdt); | 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 | #endif /* __KVM_PPC_H__ */ | 17 | #endif /* __KVM_PPC_H__ */ |