]> Git Repo - J-linux.git/commitdiff
x86, mm: fix uninitialized addr in kernel_physical_mapping_init()
authorWu Fengguang <[email protected]>
Fri, 3 Sep 2010 09:04:07 +0000 (17:04 +0800)
committerIngo Molnar <[email protected]>
Fri, 3 Sep 2010 09:40:11 +0000 (11:40 +0200)
This re-adds the lost chunk in commit 9b861528a80.

Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Wu Fengguang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Haicheng Li <[email protected]>
Cc: Andi Kleen <[email protected]>
LKML-Reference: <20100903090407.GA19771@localhost>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/mm/init_64.c

index 64e7bc2ded93f69dba1ea7dab1c8c1f83451f190..74f0f358b07b739500c610b4f42e3684c74e52f6 100644 (file)
@@ -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);
This page took 0.049754 seconds and 4 git commands to generate.