From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752872AbdFRJXD (ORCPT ); Sun, 18 Jun 2017 05:23:03 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:60656 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752698AbdFRJXB (ORCPT ); Sun, 18 Jun 2017 05:23:01 -0400 Date: Sun, 18 Jun 2017 11:22:58 +0200 From: Pavel Machek To: David Miller Cc: wbx@openadk.org, linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org Subject: Re: sparc gcc 7.1 compile issue Message-ID: <20170618092258.GA20211@amd> References: <20170531193431.GA26922@waldemar-brodkorb.de> <20170531.171008.528800003662477033.davem@davemloft.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <20170531.171008.528800003662477033.davem@davemloft.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > diff --git a/arch/sparc/include/asm/pgtable_32.h b/arch/sparc/include/asm= /pgtable_32.h > index ce6f569..cf19072 100644 > --- a/arch/sparc/include/asm/pgtable_32.h > +++ b/arch/sparc/include/asm/pgtable_32.h > @@ -91,9 +91,9 @@ extern unsigned long pfn_base; > * ZERO_PAGE is a global shared page that is always zero: used > * for zero-mapped memory areas etc.. > */ > -extern unsigned long empty_zero_page; > +extern unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)]; Would it make sense to make empty_zero_page array of bytes? There's nothing fundamentally structured in it... Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --UugvWAfsgieZRqgk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAllGRnIACgkQMOfwapXb+vJmGACgwlHJFk4iSvjinL5JuP5vQVEW EQkAn2JTx0wfmnmjJnmHlvixW3gntEl6 =Bfm5 -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk--