linux/arch/arc
David Howells 0500871f21 Construct init thread stack in the linker script rather than by union
Construct the init thread stack in the linker script rather than doing it
by means of a union so that ia64's init_task.c can be got rid of.

The following symbols are then made available from INIT_TASK_DATA() linker
script macro:

	init_thread_union
	init_stack

INIT_TASK_DATA() also expands the region to THREAD_SIZE to accommodate the
size of the init stack.  init_thread_union is given its own section so that
it can be placed into the stack space in the right order.  I'm assuming
that the ia64 ordering is correct and that the task_struct is first and the
thread_info second.

Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Tested-by: Will Deacon <will.deacon@arm.com> (arm64)
Tested-by: Palmer Dabbelt <palmer@sifive.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
2018-01-09 23:21:02 +00:00
..
boot ARC updates for 4.15-rc1 2017-11-25 08:21:54 -10:00
configs ARC: [plat-hsdk] select CONFIG_RESET_HSDK from Kconfig 2017-10-09 11:11:48 -07:00
include Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
kernel ARC updates for 4.15-rc1 2017-11-25 08:21:54 -10:00
lib ARC: dw2 unwind: enable cfi pseudo ops in string lib 2016-09-30 14:48:22 -07:00
mm ARCv2: Accomodate HS48 MMUv5 by relaxing MMU ver checking 2017-11-06 11:31:21 -08:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
plat-axs10x ARC: [plat-axs10x] DTS: Add reset controller node to manage ethernet reset 2017-11-15 09:40:43 -08:00
plat-eznps License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
plat-hsdk ARC: [plat-hsdk] Increase SDIO CIU frequency to 50000000Hz 2017-10-11 10:07:28 -07:00
plat-sim ARC: [plat-sim] Include this platform unconditionally 2017-08-04 13:49:47 +05:30
plat-tb10x arc: select GPIOLIB directly 2016-04-26 14:07:59 +02:00
Kbuild
Kconfig ARC updates for 4.15-rc1 2017-11-25 08:21:54 -10:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile arc: remove redundant UTS_MACHINE define in arch/arc/Makefile 2017-10-03 20:36:49 -07:00