diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-06-16 05:19:53 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-16 05:19:53 -0400 |
commit | 064a32d82c20cdcb0119a8b316eb520608d8c647 (patch) | |
tree | c67d534bd4458b1482c11f11c724fe93beca4f80 /arch/x86/mm/init_64.c | |
parent | 0327318445d55808991a63137cfb698a90ab6adf (diff) | |
parent | 066519068ad2fbe98c7f45552b1f592903a9c8c8 (diff) |
Merge branch 'linus' into x86/memtest
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r-- | arch/x86/mm/init_64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index c6d81316db65..c66aac5500cb 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -206,7 +206,7 @@ void __init cleanup_highmap(void) | |||
206 | pmd_t *last_pmd = pmd + PTRS_PER_PMD; | 206 | pmd_t *last_pmd = pmd + PTRS_PER_PMD; |
207 | 207 | ||
208 | for (; pmd < last_pmd; pmd++, vaddr += PMD_SIZE) { | 208 | for (; pmd < last_pmd; pmd++, vaddr += PMD_SIZE) { |
209 | if (!pmd_present(*pmd)) | 209 | if (pmd_none(*pmd)) |
210 | continue; | 210 | continue; |
211 | if (vaddr < (unsigned long) _text || vaddr > end) | 211 | if (vaddr < (unsigned long) _text || vaddr > end) |
212 | set_pmd(pmd, __pmd(0)); | 212 | set_pmd(pmd, __pmd(0)); |
@@ -507,7 +507,7 @@ early_param("memtest", parse_memtest); | |||
507 | 507 | ||
508 | static void __init early_memtest(unsigned long start, unsigned long end) | 508 | static void __init early_memtest(unsigned long start, unsigned long end) |
509 | { | 509 | { |
510 | unsigned long t_start, t_size; | 510 | u64 t_start, t_size; |
511 | unsigned pattern; | 511 | unsigned pattern; |
512 | 512 | ||
513 | if (!memtest_pattern) | 513 | if (!memtest_pattern) |
@@ -526,7 +526,7 @@ static void __init early_memtest(unsigned long start, unsigned long end) | |||
526 | if (t_start + t_size > end) | 526 | if (t_start + t_size > end) |
527 | t_size = end - t_start; | 527 | t_size = end - t_start; |
528 | 528 | ||
529 | printk(KERN_CONT "\n %016lx - %016lx pattern %d", | 529 | printk(KERN_CONT "\n %016llx - %016llx pattern %d", |
530 | t_start, t_start + t_size, pattern); | 530 | t_start, t_start + t_size, pattern); |
531 | 531 | ||
532 | memtest(t_start, t_size, pattern); | 532 | memtest(t_start, t_size, pattern); |