Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4efb4482729d2cc7926f49f997a28370e701073f
Commit:     4efb4482729d2cc7926f49f997a28370e701073f
Parent:     b9811d7fde6136bb3dc78dd4f4dd4f54be725b25
Author:     Russell King <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 12:39:37 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Tue May 8 12:39:37 2007 +0100

    [ARM] Shut up warning about init_thread_union
    
    Fix false warning:
    
    WARNING: arch/arm/kernel/init_task.o - Section mismatch:
     reference to .init.task:init_thread_union from .data between
     'init_task' (at offset 0x4) and 'init_sighand'
    
    caused by the section name starting with ".init".
    
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 arch/arm/kernel/init_task.c   |    2 +-
 arch/arm/kernel/vmlinux.lds.S |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/kernel/init_task.c b/arch/arm/kernel/init_task.c
index a00cca0..bd4ef53 100644
--- a/arch/arm/kernel/init_task.c
+++ b/arch/arm/kernel/init_task.c
@@ -31,7 +31,7 @@ EXPORT_SYMBOL(init_mm);
  * The things we do for performance..
  */
 union thread_union init_thread_union
-       __attribute__((__section__(".init.task"))) =
+       __attribute__((__section__(".data.init_task"))) =
                { INIT_THREAD_INFO(init_task) };
 
 /*
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
index 6be6729..faf32de 100644
--- a/arch/arm/kernel/vmlinux.lds.S
+++ b/arch/arm/kernel/vmlinux.lds.S
@@ -119,7 +119,7 @@ SECTIONS
                 * first, the init task union, aligned
                 * to an 8192 byte boundary.
                 */
-               *(.init.task)
+               *(.data.init_task)
 
 #ifdef CONFIG_XIP_KERNEL
                . = ALIGN(4096);
-
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