* [PATCH] fix build with perfc_arrays enabled
@ 2006-03-15 19:58 David Lively
0 siblings, 0 replies; only message in thread
From: David Lively @ 2006-03-15 19:58 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 398 bytes --]
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@virtualiron.com>
[-- Attachment #2: perfc-arrays-build-fix.patch --]
[-- Type: text/x-patch, Size: 375 bytes --]
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
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-15 19:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15 19:58 [PATCH] fix build with perfc_arrays enabled David Lively
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.