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-devel

[Xen-devel] [PATCH] fix build with perfc_arrays enabled

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] fix build with perfc_arrays enabled
From: David Lively <dlively@xxxxxxxxxxxxxxx>
Date: Wed, 15 Mar 2006 14:58:09 -0500
Delivery-date: Fri, 17 Mar 2006 10:34:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)
Hi -
  Attached is a(nother) trivial patch.  This one allows the hypervisor
to build without warnings (wisely considered errors with/-Werror) when
perfc_arrays are enabled in xen/Rules.mk.  All it does is make the
declarations of ptwr_eip_stat_{reset,print} proper function prototypes.
This should not affect the generated code at all.

Dave

Signed-off-by: David Lively <dlively@xxxxxxxxxxxxxxx>
diff -r c445d4a0dd76 xen/include/asm-x86/mm.h
--- a/xen/include/asm-x86/mm.h  Tue Mar 14 19:33:45 2006 +0100
+++ b/xen/include/asm-x86/mm.h  Wed Mar 15 14:53:25 2006 -0500
@@ -363,8 +363,8 @@ void audit_domains(void);
 
 #ifdef PERF_ARRAYS
 
-void ptwr_eip_stat_reset();
-void ptwr_eip_stat_print();
+void ptwr_eip_stat_reset(void);
+void ptwr_eip_stat_print(void);
 
 #else
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix build with perfc_arrays enabled, David Lively <=