Skip to contentSkip to conversation

fix build with perfc_arrays enabled

PATCH New David Lively 1 participant 1 message Mar 15, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

xen/include/asm-x86/mm.h +2 -2
diff -r c445d4a0dd76 xen/include/asm-x86/mm.h
@@ -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
[email protected]
http://lists.xensource.com/xen-devel