[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-1c5f50ee347daea013671f718b70cd6bf497bef9@git.kernel.org>
Date: Fri, 3 Sep 2010 13:15:57 GMT
From: tip-bot for Wu Fengguang <fengguang.wu@...el.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, haicheng.li@...ux.intel.com,
hpa@...or.com, mingo@...hat.com, peterz@...radead.org,
ak@...ux.intel.com, tglx@...utronix.de, sfr@...b.auug.org.au,
fengguang.wu@...el.com, mingo@...e.hu
Subject: [tip:x86/mm] x86, mm: fix uninitialized addr in kernel_physical_mapping_init()
Commit-ID: 1c5f50ee347daea013671f718b70cd6bf497bef9
Gitweb: http://git.kernel.org/tip/1c5f50ee347daea013671f718b70cd6bf497bef9
Author: Wu Fengguang <fengguang.wu@...el.com>
AuthorDate: Fri, 3 Sep 2010 17:04:07 +0800
Committer: Ingo Molnar <mingo@...e.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@...b.auug.org.au>
Signed-off-by: Wu Fengguang <fengguang.wu@...el.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Haicheng Li <haicheng.li@...ux.intel.com>
Cc: Andi Kleen <ak@...ux.intel.com>
LKML-Reference: <20100903090407.GA19771@...alhost>
Signed-off-by: Ingo Molnar <mingo@...e.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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists