mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Al Viro <viro@ftp.linux.org.uk>
Cc: torvalds@linux-foundation.org, linux-m68k@vger.kernel.org,
	linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH 3/8] m68k: use .text.head
Date: Fri, 20 Jul 2007 10:06:24 +0200	[thread overview]
Message-ID: <20070720080623.GB15534@osiris.boeblingen.de.ibm.com> (raw)
In-Reply-To: <E1IBjEq-0004ks-5L@ZenIV.linux.org.uk>

On Fri, Jul 20, 2007 at 04:33:08AM +0100, Al Viro wrote:
> 
> i.e. tell modpost that entry point code (that has to be outside
> of .init.text for external reasons) is OK to refer to .init.*
> 
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ---
> diff --git a/arch/m68k/kernel/sun3-head.S b/arch/m68k/kernel/sun3-head.S
> index 4b5f050..aad0159 100644
> --- a/arch/m68k/kernel/sun3-head.S
> +++ b/arch/m68k/kernel/sun3-head.S
> @@ -29,7 +29,7 @@ kernel_pmd_table:              .skip 0x2000
>  .globl kernel_pg_dir
>  .equ    kernel_pg_dir,kernel_pmd_table
> 
> -	.section .head
> +	.section .text.head
>  ENTRY(_stext)
>  ENTRY(_start)
> 
> diff --git a/arch/m68k/kernel/vmlinux-sun3.lds b/arch/m68k/kernel/vmlinux-sun3.lds
> index f06425b..4adffef 100644
> --- a/arch/m68k/kernel/vmlinux-sun3.lds
> +++ b/arch/m68k/kernel/vmlinux-sun3.lds
> @@ -11,7 +11,7 @@ SECTIONS
>    . = 0xE002000;
>    _text = .;			/* Text and read-only data */
>    .text : {
> -	*(.head)
> +	*(.text.head)
>  	TEXT_TEXT
>  	SCHED_TEXT
>  	LOCK_TEXT

I was wondering how to "fix" this on s390 since we have the same issue.
So I'll do it the same way here. Thanks.

  reply	other threads:[~2007-07-20  8:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-20  3:33 Al Viro
2007-07-20  8:06 ` Heiko Carstens [this message]
2007-07-20  8:37   ` Paul Mundt

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=20070720080623.GB15534@osiris.boeblingen.de.ibm.com \
    --to=heiko.carstens@de.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=viro@ftp.linux.org.uk \
    /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®