Re: sparc gcc 7.1 compile issue

From: Pavel Machek
Date: Sun Jun 18 2017 - 05:23:21 EST


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

Attachment: signature.asc
Description: Digital signature