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

[Xen-devel] [PATCH] CS 8857 won't build with gcc 4


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Steve Dobbelstein <steved@xxxxxxxxxx>
  • Date: Thu, 16 Feb 2006 15:47:35 -0600
  • Delivery-date: Thu, 16 Feb 2006 22:00:17 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Another build break with gcc 4.

gcc 4 complains:

mpparse.c:56: error: static declaration of ?mp_current_pci_id? follows
non-static declaration
/usr/src/xen/xen-unstable.hg-8857/xen/include/asm/mpspec.h:26: error:
previous declaration of ?mp_current_pci_id? was here
make[2]: *** [mpparse.o] Error 1

This patch removes the declaration of extern mp_current_pci_id from
xen/include/asm/mpspec.h.  All .c files that use mp_current_pci_id declare
it static, so it is not needed in the header file.

Signed-off-by: Steve Dobbelstein <steved@xxxxxxxxxx>

(See attached file: 8857-build-fix.patch)

Attachment: 8857-build-fix.patch
Description: Binary data

_______________________________________________
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®.