[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XenARM] [PATCH] xenoprof_arch_init need to return an int



Fix build time warning

Signed-off-by: Jean-Christophe DUBOIS <jcd@xxxxxxxxxxxxxxx>
---
 xen/include/asm-arm/xenoprof.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen/include/asm-arm/xenoprof.h b/xen/include/asm-arm/xenoprof.h
index 9c4501e..0724b92 100644
--- a/xen/include/asm-arm/xenoprof.h
+++ b/xen/include/asm-arm/xenoprof.h
@@ -35,6 +35,6 @@ static inline void xenoprof_backtrace(
     struct domain *d, struct vcpu *vcpu,
     struct cpu_user_regs *const regs, unsigned long depth, int mode) {}
 
-static inline int xenoprof_arch_init(int *num_events, char *cpu_type) {}
+static inline int xenoprof_arch_init(int *num_events, char *cpu_type) { 
return 0; }
 
 #endif
-- 
1.7.4.1


_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.