fix build with perfc_arrays enabled
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
Signed-off-by David Lively <[email protected]>
xen/include/asm-x86/mm.h +2 -2
@@ -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