From: Chen Baozi Subject: Duplicated arch_gnttab_init breaks the arm64 kernel build Date: Wed, 13 Aug 2014 10:04:27 +0800 Message-ID: <0B60D476-C0E4-4AE8-9FF9-C16F65352C33@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============1733141928274093383==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel , Konrad Rzeszutek Wilk Cc: Grall Julien , Campbell Ian , List Developer Xen List-Id: xen-devel@lists.xenproject.org --===============1733141928274093383== Content-Type: multipart/signed; boundary="Apple-Mail=_2B4421D7-E126-4F67-B919-9F45C0EFA110"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Apple-Mail=_2B4421D7-E126-4F67-B919-9F45C0EFA110 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi David & Konrad,=20 The current upstream kernel fails to build with Xen support because of = duplicated arch_gnttab_init() definition: CC arch/arm64/xen/../../arm/xen/grant-table.o arch/arm64/xen/../../arm/xen/grant-table.c:53:5: error: conflicting = types for =91arch_gnttab_init=92 int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status) ^ arch/arm64/xen/../../arm/xen/grant-table.c:48:5: note: previous = definition of =91arch_gnttab_init=92 was here int arch_gnttab_init(unsigned long nr_shared) ^ make[1]: *** [arch/arm64/xen/../../arm/xen/grant-table.o] Error 1 make: *** [arch/arm64/xen] Error 2 I looked through the current upstream kernel tree. It looks like = arch_gnttab_init() is still be called in the older fashion (int arch_gnttab_init(unsigned = long nr_shared)). So I doubt if the b7dd0e3 at this stage of time? Cheers, Baozi --Apple-Mail=_2B4421D7-E126-4F67-B919-9F45C0EFA110 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJT6serAAoJEHXZCwEKhFER6kkQAIXMPneOF7JrPmhX3g1DwZsb U4SoW0aPdt5DeyL6RyR55vGOpnlQDzjLc94jAIGwxLTwzOtIKcJYwlPHlUnO6CV1 oQ8WG8e2hNQhZocSSQulH+dz7jRiEtrcqmpcNIGoIfuz7SYe0LjKd30ACjvXHOak KocvWVYP4yNz3sUY5yHM8p/n2lfTqZRMhaD5jMxR34L0tsEha08Z70ulcTEYFo58 xIrSj5tOk9EmAL4/0COXFdxkPV5MgYX/DLAYdZgDy4rz5g1Lbxme84EOMWJDonT2 n3s2p3SVxVKty2Fgmvxue9M9IlBIj0t3KN8qnMCzNi8E2c4PdUABdu01e5IpSDAa VKavEXf51t3E0odvCLVDgGx3mdABDx4bLLvsgGRV6c5P7IgiNYrLtESg1I4pkMZb l3Il4N7plpnr5pKH7vJ5ciqEsrqWN/v6u4Yw/N9IsiQfX1Rc9N41mliS6JaErc8W BPlvFDhewtj2ObjIfyvGGypioIuuAJdMBN73nlizEJ8QLD92WQlRel0FqN1ofOnK P0UQz8Gzx7Rq6mOTAHy4PFdYRoyh0N4WggTGEqEsHv91PB1xxIEEhAUp0WFExKn5 uJ5JKRAEyVHclHBsWMPWOdhb/F1tF/fdZ/v4xx4lcOe38MvE2flPTPrWg/y5oINS 4XDAPNy/TK530Uv+LP6a =tzYS -----END PGP SIGNATURE----- --Apple-Mail=_2B4421D7-E126-4F67-B919-9F45C0EFA110-- --===============1733141928274093383== 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.xen.org http://lists.xen.org/xen-devel --===============1733141928274093383==--