Skip to content

Commit

Permalink
x86, mm: fix uninitialized addr in kernel_physical_mapping_init()
Browse files Browse the repository at this point in the history
This re-adds the lost chunk in commit 9b86152.

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>
  • Loading branch information
Wu Fengguang authored and Ingo Molnar committed Sep 3, 2010
1 parent 9fbaf49 commit 1c5f50e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/mm/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1c5f50e

Please sign in to comment.