WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-arm

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

To: jm77.ryu@xxxxxxxxxxx
Subject: [XenARM] [PATCH] xenoprof_arch_init need to return an int
From: "Jean-Christophe DUBOIS" <jcd@xxxxxxxxxxxxxxx>
Date: Thu, 8 Sep 2011 22:57:27 +0200
Cc: xen-arm@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Sep 2011 13:57:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-arm-request@lists.xensource.com?subject=help>
List-id: Xen ARM development <xen-arm.lists.xensource.com>
List-post: <mailto:xen-arm@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-arm-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.6.2; x86_64; ; )
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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenARM] [PATCH] xenoprof_arch_init need to return an int, Jean-Christophe DUBOIS <=