public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: David Miller <davem@davemloft.net>
Cc: wbx@openadk.org, linux-kernel@vger.kernel.org,
	sparclinux@vger.kernel.org
Subject: Re: sparc gcc 7.1 compile issue
Date: Sun, 18 Jun 2017 11:22:58 +0200	[thread overview]
Message-ID: <20170618092258.GA20211@amd> (raw)
In-Reply-To: <20170531.171008.528800003662477033.davem@davemloft.net>

[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

      parent reply	other threads:[~2017-06-18  9:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-31 19:34 sparc gcc 7.1 compile issue Waldemar Brodkorb
2017-05-31 21:10 ` David Miller
2017-06-01 12:12   ` Waldemar Brodkorb
2017-06-01 12:46     ` Anatoly Pugachev
2017-06-01 12:48       ` John Paul Adrian Glaubitz
2017-06-01 16:45       ` David Miller
2017-06-02  9:17   ` John Paul Adrian Glaubitz
2017-06-02 14:22     ` David Miller
2017-06-02 16:33       ` John Paul Adrian Glaubitz
2017-06-02 17:28         ` David Miller
2017-06-04 13:16           ` John Paul Adrian Glaubitz
2017-06-04 14:40             ` Waldemar Brodkorb
2017-06-04 15:09               ` John Paul Adrian Glaubitz
2017-06-04 20:22               ` David Miller
2017-06-04 20:27                 ` John Paul Adrian Glaubitz
2017-06-04 20:21             ` David Miller
2017-06-04 20:26               ` John Paul Adrian Glaubitz
2017-06-04 20:30                 ` David Miller
2017-06-04 20:33                   ` John Paul Adrian Glaubitz
2017-06-04 20:34                     ` David Miller
2017-06-04 20:38                       ` John Paul Adrian Glaubitz
2017-06-18  9:22   ` Pavel Machek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170618092258.GA20211@amd \
    --to=pavel@ucw.cz \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sparclinux@vger.kernel.org \
    --cc=wbx@openadk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox