Messages in this thread | | | Date | Sun, 18 Jun 2017 11:22:58 +0200 | From | Pavel Machek <> | 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 [unhandled content-type:application/pgp-signature] | |