Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=339547bf5de1212c9c7b89b0e0d69620709729d2
Commit:     339547bf5de1212c9c7b89b0e0d69620709729d2
Parent:     bf73af2314702fcf44fb2a098244e3927f459531
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 20 17:40:03 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Fri Jul 20 17:40:03 2007 +0900

    sh: Move entry point code to .text.head.
    
    Follow Al Viro's m68k change from l-k:
    
        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.*
    
    Shuts up some section mismatch warnings from modpost.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh/kernel/head.S        |    3 ++-
 arch/sh/kernel/vmlinux.lds.S |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/sh/kernel/head.S b/arch/sh/kernel/head.S
index 71a3ad7..0bccc0c 100644
--- a/arch/sh/kernel/head.S
+++ b/arch/sh/kernel/head.S
@@ -36,7 +36,8 @@ ENTRY(empty_zero_page)
 1:
        .skip   PAGE_SIZE - empty_zero_page - 1b
 
-       .text   
+       .section        .text.head, "ax"
+
 /*
  * Condition at the entry of _stext:
  *
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
index 5ba2161..9cb95af 100644
--- a/arch/sh/kernel/vmlinux.lds.S
+++ b/arch/sh/kernel/vmlinux.lds.S
@@ -22,6 +22,7 @@ SECTIONS
        *(.empty_zero_page)
        } = 0
   .text : {
+       *(.text.head)
        TEXT_TEXT
        SCHED_TEXT
        LOCK_TEXT
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to