mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: <mingo@elte.hu>, <tglx@linutronix.de>, <hpa@zytor.com>
Cc: <edumazet@google.com>, <pavel@ucw.cz>, <linux-kernel@vger.kernel.org>
Subject: [PATCH] ix86: drop always empty .text..page_aligned section
Date: Mon, 11 Mar 2013 10:06:12 +0000	[thread overview]
Message-ID: <513DBAA402000078000C4896@nat28.tlf.novell.com> (raw)

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




             reply	other threads:[~2013-03-11 10:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 10:06 Jan Beulich [this message]
2013-03-11 18:14 ` [tip:x86/mm] x86: Drop " tip-bot for Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=513DBAA402000078000C4896@nat28.tlf.novell.com \
    --to=jbeulich@suse.com \
    --cc=edumazet@google.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=pavel@ucw.cz \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®