diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 11:40:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 11:40:35 -0400 |
commit | f9b3bcfbc43ac80f2019a5093ad9a1e624e611b1 (patch) | |
tree | 9db502a626fca6213019bbff3e39ff37e11d853d /arch/x86/kernel | |
parent | 01c7cd0ef5d98fdd007d8a04c9f834bead6e5ee1 (diff) | |
parent | 13f72756da86f155898e2c2022f7b3a106c3742e (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 smaller changes all over the map"
* 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/iommu/dmar: Remove warning for HPET scope type
x86/mm/gart: Drop unnecessary check
x86/mm/hotplug: Put kernel_physical_mapping_remove() declaration in CONFIG_MEMORY_HOTREMOVE
x86/mm/fixmap: Remove unused FIX_CYCLONE_TIMER
x86/mm/numa: Simplify some bit mangling
x86/mm: Re-enable DEBUG_TLBFLUSH for X86_32
x86/mm/cpa: Cleanup split_large_page() and its callee
x86: Drop always empty .text..page_aligned section
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/acpi/wakeup_32.S | 2 | ||||
-rw-r--r-- | arch/x86/kernel/aperture_64.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/vmlinux.lds.S | 4 |
3 files changed, 2 insertions, 6 deletions
diff --git a/arch/x86/kernel/acpi/wakeup_32.S b/arch/x86/kernel/acpi/wakeup_32.S index 13ab720573e3..ced4638c8341 100644 --- a/arch/x86/kernel/acpi/wakeup_32.S +++ b/arch/x86/kernel/acpi/wakeup_32.S | |||
@@ -1,4 +1,4 @@ | |||
1 | .section .text..page_aligned | 1 | .text |
2 | #include <linux/linkage.h> | 2 | #include <linux/linkage.h> |
3 | #include <asm/segment.h> | 3 | #include <asm/segment.h> |
4 | #include <asm/page_types.h> | 4 | #include <asm/page_types.h> |
diff --git a/arch/x86/kernel/aperture_64.c b/arch/x86/kernel/aperture_64.c index d5fd66f0d4cd..fd972a3e4cbb 100644 --- a/arch/x86/kernel/aperture_64.c +++ b/arch/x86/kernel/aperture_64.c | |||
@@ -87,7 +87,7 @@ static u32 __init allocate_aperture(void) | |||
87 | */ | 87 | */ |
88 | addr = memblock_find_in_range(GART_MIN_ADDR, GART_MAX_ADDR, | 88 | addr = memblock_find_in_range(GART_MIN_ADDR, GART_MAX_ADDR, |
89 | aper_size, aper_size); | 89 | aper_size, aper_size); |
90 | if (!addr || addr + aper_size > GART_MAX_ADDR) { | 90 | if (!addr) { |
91 | printk(KERN_ERR | 91 | printk(KERN_ERR |
92 | "Cannot allocate aperture memory hole (%lx,%uK)\n", | 92 | "Cannot allocate aperture memory hole (%lx,%uK)\n", |
93 | addr, aper_size>>10); | 93 | addr, aper_size>>10); |
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 22a1530146a8..10c4f3006afd 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S | |||
@@ -94,10 +94,6 @@ SECTIONS | |||
94 | _text = .; | 94 | _text = .; |
95 | /* bootstrapping code */ | 95 | /* bootstrapping code */ |
96 | HEAD_TEXT | 96 | HEAD_TEXT |
97 | #ifdef CONFIG_X86_32 | ||
98 | . = ALIGN(PAGE_SIZE); | ||
99 | *(.text..page_aligned) | ||
100 | #endif | ||
101 | . = ALIGN(8); | 97 | . = ALIGN(8); |
102 | _stext = .; | 98 | _stext = .; |
103 | TEXT_TEXT | 99 | TEXT_TEXT |