From: tip-bot for Wu Fengguang <fengguang.wu@intel.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, haicheng.li@linux.intel.com,
hpa@zytor.com, mingo@redhat.com, peterz@infradead.org,
ak@linux.intel.com, tglx@linutronix.de, sfr@canb.auug.org.au,
fengguang.wu@intel.com, mingo@elte.hu
Subject: [tip:x86/mm] x86, mm: fix uninitialized addr in kernel_physical_mapping_init()
Date: Fri, 3 Sep 2010 13:15:57 GMT [thread overview]
Message-ID: <tip-1c5f50ee347daea013671f718b70cd6bf497bef9@git.kernel.org> (raw)
In-Reply-To: <20100903090407.GA19771@localhost>
Commit-ID: 1c5f50ee347daea013671f718b70cd6bf497bef9
Gitweb: http://git.kernel.org/tip/1c5f50ee347daea013671f718b70cd6bf497bef9
Author: Wu Fengguang <fengguang.wu@intel.com>
AuthorDate: Fri, 3 Sep 2010 17:04:07 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 3 Sep 2010 11:40:11 +0200
x86, mm: fix uninitialized addr in kernel_physical_mapping_init()
This re-adds the lost chunk in commit 9b861528a80.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Haicheng Li <haicheng.li@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
LKML-Reference: <20100903090407.GA19771@localhost>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/mm/init_64.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index 64e7bc2..74f0f35 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -570,6 +570,7 @@ kernel_physical_mapping_init(unsigned long start,
start = (unsigned long)__va(start);
end = (unsigned long)__va(end);
+ addr = start;
for (; start < end; start = next) {
pgd_t *pgd = pgd_offset_k(start);
prev parent reply other threads:[~2010-09-03 13:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-03 2:10 linux-next: build warning after merge of the tip tree Stephen Rothwell
2010-09-03 2:12 ` Stephen Rothwell
2010-09-03 9:04 ` Wu Fengguang
2010-09-03 10:07 ` Haicheng Li
2010-09-03 13:15 ` tip-bot for Wu Fengguang [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=tip-1c5f50ee347daea013671f718b70cd6bf497bef9@git.kernel.org \
--to=fengguang.wu@intel.com \
--cc=ak@linux.intel.com \
--cc=haicheng.li@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=sfr@canb.auug.org.au \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome