From: David Rientjes <rientjes@google.com>
To: Zhihui Zhang <zzhsuny@gmail.com>
Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Use LOAD_PHYSICAL_ADDR in vmlinux.lds.S
Date: Sun, 26 Jan 2014 13:12:34 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.02.1401261311270.26515@chino.kir.corp.google.com> (raw)
In-Reply-To: <1390767194-28654-1-git-send-email-zzhsuny@gmail.com>
On Sun, 26 Jan 2014, Zhihui Zhang wrote:
> diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
> index da6b35a..e81bf49 100644
> --- a/arch/x86/kernel/vmlinux.lds.S
> +++ b/arch/x86/kernel/vmlinux.lds.S
> @@ -81,11 +81,10 @@ PHDRS {
>
> SECTIONS
> {
> -#ifdef CONFIG_X86_32
> . = LOAD_OFFSET + LOAD_PHYSICAL_ADDR;
> +#ifdef CONFIG_X86_32
> phys_startup_32 = startup_32 - LOAD_OFFSET;
> #else
> - . = __START_KERNEL;
> phys_startup_64 = startup_64 - LOAD_OFFSET;
> #endif
>
Makes sense, but any reason to not make LOAD_PHYSICAL_ADDR to use ALIGN()?
(You'll also want to prefix the patch title in the subject line with
"x86, boot:" and cc x86@kernel.org on patches like this.)
prev parent reply other threads:[~2014-01-26 21:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-26 20:13 Zhihui Zhang
2014-01-26 21:12 ` David Rientjes [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=alpine.DEB.2.02.1401261311270.26515@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=zzhsuny@gmail.com \
/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
all inboxes | Powered by JetHome®