Skip to contentSkip to conversation

ix86: drop always empty .text..page_aligned section

PATCH New Jan Beulich 2 participants 2 messages Mar 11, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ix86: drop always empty .text..page_aligned section

Commit e44b7b7 ("x86: move suspend wakeup code to C") didn't care to also eliminate the side effects that the earlier 4c49156 ("x86: make arch/x86/kernel/acpi/wakeup_32.S use a separate") had, thus leaving a now pointless, almost page size gap at the beginning of .text.

Cc Eric Dumazet <[email protected]>
Cc Pavel Machek <[email protected]>
---
 arch/x86/kernel/acpi/wakeup_32.S |    2 +-
 arch/x86/kernel/vmlinux.lds.S    |    4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)
arch/x86/kernel/acpi/wakeup_32.S +1 -1
@@ -1,4 +1,4 @@
-	.section .text..page_aligned
+	.text
 #include <linux/linkage.h>
 #include <asm/segment.h>
 #include <asm/page_types.h>
arch/x86/kernel/vmlinux.lds.S +0 -4
@@ -94,10 +94,6 @@ SECTIONS
 		_text = .;
 		/* bootstrapping code */
 		HEAD_TEXT
-#ifdef CONFIG_X86_32
-		. = ALIGN(PAGE_SIZE);
-		*(.text..page_aligned)
-#endif
 		. = ALIGN(8);
 		_stext = .;
 		TEXT_TEXT
#1 lore raw

[tip:x86/mm] x86: Drop always empty .text..page_aligned section

x86: Drop always empty .text..page_aligned section
Commit-ID:  ec7fd34425f6536ed4b3548e7aa712ee2718189c
Gitweb:     http://git.kernel.org/tip/ec7fd34425f6536ed4b3548e7aa712ee2718189c
Author:     Jan Beulich <[email protected]>
AuthorDate: Mon, 11 Mar 2013 10:06:12 +0000
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 11 Mar 2013 15:07:56 +0100

x86: Drop always empty .text..page_aligned section

Commit e44b7b7 ("x86: move suspend wakeup code to C") didn't care to also eliminate the side effects that the earlier 4c49156 ("x86: make arch/x86/kernel/acpi/wakeup_32.S use a separate") had, thus leaving a now pointless, almost page size gap at the beginning of .text.

---
 arch/x86/kernel/acpi/wakeup_32.S | 2 +-
 arch/x86/kernel/vmlinux.lds.S    | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)
arch/x86/kernel/acpi/wakeup_32.S +1 -1
index 13ab720..ced4638 100644
@@ -1,4 +1,4 @@
-	.section .text..page_aligned
+	.text
 #include <linux/linkage.h>
 #include <asm/segment.h>
 #include <asm/page_types.h>
arch/x86/kernel/vmlinux.lds.S +0 -4
index 22a1530..10c4f30 100644
@@ -94,10 +94,6 @@ SECTIONS
 		_text = .;
 		/* bootstrapping code */
 		HEAD_TEXT
-#ifdef CONFIG_X86_32
-		. = ALIGN(PAGE_SIZE);
-		*(.text..page_aligned)
-#endif
 		. = ALIGN(8);
 		_stext = .;
 		TEXT_TEXT