aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-05-08 07:39:37 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-08 07:39:37 -0400
commit4efb4482729d2cc7926f49f997a28370e701073f (patch)
tree5faf5e928e62d8cf5951664d7ce6247f8ac5d8d7 /arch
parentb9811d7fde6136bb3dc78dd4f4dd4f54be725b25 (diff)
[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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/kernel/init_task.c2
-rw-r--r--arch/arm/kernel/vmlinux.lds.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/init_task.c b/arch/arm/kernel/init_task.c
index a00cca0000bd..bd4ef53bc6b9 100644
--- a/arch/arm/kernel/init_task.c
+++ b/arch/arm/kernel/init_task.c
@@ -31,7 +31,7 @@ EXPORT_SYMBOL(init_mm);
31 * The things we do for performance.. 31 * The things we do for performance..
32 */ 32 */
33union thread_union init_thread_union 33union thread_union init_thread_union
34 __attribute__((__section__(".init.task"))) = 34 __attribute__((__section__(".data.init_task"))) =
35 { INIT_THREAD_INFO(init_task) }; 35 { INIT_THREAD_INFO(init_task) };
36 36
37/* 37/*
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
index 6be67296f333..faf32de5c5ad 100644
--- a/arch/arm/kernel/vmlinux.lds.S
+++ b/arch/arm/kernel/vmlinux.lds.S
@@ -119,7 +119,7 @@ SECTIONS
119 * first, the init task union, aligned 119 * first, the init task union, aligned
120 * to an 8192 byte boundary. 120 * to an 8192 byte boundary.
121 */ 121 */
122 *(.init.task) 122 *(.data.init_task)
123 123
124#ifdef CONFIG_XIP_KERNEL 124#ifdef CONFIG_XIP_KERNEL
125 . = ALIGN(4096); 125 . = ALIGN(4096);