[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170618092258.GA20211@amd>
Date: Sun, 18 Jun 2017 11:22:58 +0200
From: Pavel Machek <pavel@....cz>
To: David Miller <davem@...emloft.net>
Cc: wbx@...nadk.org, linux-kernel@...r.kernel.org,
sparclinux@...r.kernel.org
Subject: Re: sparc gcc 7.1 compile issue
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
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists