diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 19:29:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 19:29:05 -0400 |
commit | 1982269a5c51c70cddceb8d157f07b522aee0a2d (patch) | |
tree | cfa5d233a527b15324f6d2756d8fe275aa17f5d1 /arch/x86/mm | |
parent | fdd78889aad2ec85b2f5a8ed232215dca7a22a3b (diff) | |
parent | 4f4319a02a6108be3e65b9d44d1b7f5e8f520535 (diff) |
Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 mm changes from Ingo Molnar:
"Misc improvements:
- Fix /proc/mtrr reporting
- Fix ioremap printout
- Remove the unused pvclock fixmap entry on 32-bit
- misc cleanups"
* 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/ioremap: Correct function name output
x86: Fix /proc/mtrr with base/size more than 44bits
ix86: Don't waste fixmap entries
x86/mm: Drop unneeded include <asm/*pgtable, page*_types.h>
x86_64: Correct phys_addr in cleanup_highmap comment
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/init_64.c | 2 | ||||
-rw-r--r-- | arch/x86/mm/ioremap.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index bb00c4672ad6..b3940b6b4d7e 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -368,7 +368,7 @@ void __init init_extra_mapping_uc(unsigned long phys, unsigned long size) | |||
368 | * | 368 | * |
369 | * from __START_KERNEL_map to __START_KERNEL_map + size (== _end-_text) | 369 | * from __START_KERNEL_map to __START_KERNEL_map + size (== _end-_text) |
370 | * | 370 | * |
371 | * phys_addr holds the negative offset to the kernel, which is added | 371 | * phys_base holds the negative offset to the kernel, which is added |
372 | * to the compile time generated pmds. This results in invalid pmds up | 372 | * to the compile time generated pmds. This results in invalid pmds up |
373 | * to the point where we hit the physaddr 0 mapping. | 373 | * to the point where we hit the physaddr 0 mapping. |
374 | * | 374 | * |
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index 9a1e6583910c..0215e2c563ef 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -501,15 +501,15 @@ __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) | |||
501 | } | 501 | } |
502 | 502 | ||
503 | if (slot < 0) { | 503 | if (slot < 0) { |
504 | printk(KERN_INFO "early_iomap(%08llx, %08lx) not found slot\n", | 504 | printk(KERN_INFO "%s(%08llx, %08lx) not found slot\n", |
505 | (u64)phys_addr, size); | 505 | __func__, (u64)phys_addr, size); |
506 | WARN_ON(1); | 506 | WARN_ON(1); |
507 | return NULL; | 507 | return NULL; |
508 | } | 508 | } |
509 | 509 | ||
510 | if (early_ioremap_debug) { | 510 | if (early_ioremap_debug) { |
511 | printk(KERN_INFO "early_ioremap(%08llx, %08lx) [%d] => ", | 511 | printk(KERN_INFO "%s(%08llx, %08lx) [%d] => ", |
512 | (u64)phys_addr, size, slot); | 512 | __func__, (u64)phys_addr, size, slot); |
513 | dump_stack(); | 513 | dump_stack(); |
514 | } | 514 | } |
515 | 515 | ||