mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ix86: drop always empty .text..page_aligned section
@ 2013-03-11 10:06 Jan Beulich
  2013-03-11 18:14 ` [tip:x86/mm] x86: Drop " tip-bot for Jan Beulich
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2013-03-11 10:06 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: edumazet, pavel, linux-kernel

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.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Pavel Machek <pavel@ucw.cz>

---
 arch/x86/kernel/acpi/wakeup_32.S |    2 +-
 arch/x86/kernel/vmlinux.lds.S    |    4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

--- 3.9-rc2/arch/x86/kernel/acpi/wakeup_32.S
+++ 3.9-rc2-ix86-no-page-aligned-text/arch/x86/kernel/acpi/wakeup_32.S
@@ -1,4 +1,4 @@
-	.section .text..page_aligned
+	.text
 #include <linux/linkage.h>
 #include <asm/segment.h>
 #include <asm/page_types.h>
--- 3.9-rc2/arch/x86/kernel/vmlinux.lds.S
+++ 3.9-rc2-ix86-no-page-aligned-text/arch/x86/kernel/vmlinux.lds.S
@@ -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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-11 18:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-11 10:06 [PATCH] ix86: drop always empty .text..page_aligned section Jan Beulich
2013-03-11 18:14 ` [tip:x86/mm] x86: Drop " tip-bot for Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome