All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Jan Beulich <JBeulich@novell.com>
Cc: mingo@elte.hu, tglx@linutronix.de, sam@ravnborg.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: fix build with older binutils and consolidate	 linker script
Date: Fri, 21 Aug 2009 13:23:04 -0700	[thread overview]
Message-ID: <4A8F0228.80805@zytor.com> (raw)
In-Reply-To: <4A8AEA1F0200007800010563@vpn.id2.novell.com>

On 08/18/2009 08:51 AM, Jan Beulich wrote:
>  
>  #define VSYSCALL_ADDR (-10*1024*1024)
> -#define VSYSCALL_PHYS_ADDR ((LOADADDR(.data.read_mostly) + \
> -                            SIZEOF(.data.read_mostly) + 4095) & ~(4095))
> -#define VSYSCALL_VIRT_ADDR ((ADDR(.data.read_mostly) + \
> -                            SIZEOF(.data.read_mostly) + 4095) & ~(4095))
> +#define VSYSCALL_PHYS_ADDR ((LOADADDR(.data) + SIZEOF(.data) + \
> +                            PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))
> +#define VSYSCALL_VIRT_ADDR ((ADDR(.data) + SIZEOF(.data) + \
> +                            PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))
>  

I'm missing something with this chunk... could you please explain?

	-hpa

  reply	other threads:[~2009-08-21 20:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-18 15:51 [PATCH] x86: fix build with older binutils and consolidate linker script Jan Beulich
2009-08-21 20:23 ` H. Peter Anvin [this message]
2009-08-24  6:55   ` Jan Beulich
2009-08-24  7:13     ` H. Peter Anvin
2009-08-24  7:21       ` Jan Beulich
2009-08-24 16:09         ` H. Peter Anvin
2009-08-24 22:55 ` [tip:x86/urgent] x86: Fix " tip-bot for Jan Beulich
2009-08-25  7:50   ` Ingo Molnar
2009-08-25  8:01     ` Jan Beulich
2009-08-25  8:27       ` Ingo Molnar
2009-08-25 13:53     ` Jan Beulich
2009-08-25 13:56       ` Ingo Molnar
2009-08-25 14:01         ` [tip:x86/urgent] x86: Fix build with older binutils andconsolidate " Jan Beulich
2009-08-25 14:14           ` Ingo Molnar
2009-08-25 14:35             ` [tip:x86/urgent] x86: Fix build with older binutilsandconsolidate " Jan Beulich
2009-08-25 14:48               ` Ingo Molnar

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=4A8F0228.80805@zytor.com \
    --to=hpa@zytor.com \
    --cc=JBeulich@novell.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=sam@ravnborg.org \
    --cc=tglx@linutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.