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

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



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

 


Rackspace

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