From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Lively Subject: [PATCH] fix build with perfc_arrays enabled Date: Wed, 15 Mar 2006 14:58:09 -0500 Message-ID: <441871D1.5080909@virtualiron.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030808000207040506020002" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------030808000207040506020002 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------030808000207040506020002 Content-Type: text/x-patch; name="perfc-arrays-build-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="perfc-arrays-build-fix.patch" 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 --------------030808000207040506020002 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------030808000207040506020002--