Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4efb4482 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b9811d7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) };

/*
+1 −1
Original line number Diff line number Diff line
@@ -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);