linux_dsm_epyc7002/arch/openrisc/include/asm
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
..
bitops openrisc: add atomic bitops 2017-02-25 04:12:38 +09:00
asm-offsets.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
atomic.h openrisc: add optimized atomic operations 2017-02-25 04:14:06 +09:00
bitops.h openrisc: add atomic bitops 2017-02-25 04:12:38 +09:00
cache.h openrisc: Define __ro_after_init to avoid crash 2016-11-06 08:01:12 -08:00
cacheflush.h openrisc: add cacheflush support to fix icache aliasing 2017-11-03 14:01:15 +09:00
cmpxchg.h openrisc: add 1 and 2 byte cmpxchg support 2017-11-03 14:01:12 +09:00
cpuinfo.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
delay.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
dma-mapping.h kmemcheck: remove annotations 2017-11-15 18:21:04 -08:00
elf.h default SET_PERSONALITY() in linux/elf.h 2013-02-26 02:46:08 -05:00
fixmap.h openrisc: explicitly include linux/bug.h in asm/fixmap.h 2017-07-08 04:35:17 +09:00
futex.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
io.h asm-generic/io.h: remove asm/cacheflush.h include 2012-10-25 16:06:57 +02:00
irq.h openrisc: Get rid of handle_IRQ 2014-09-03 13:11:02 +00:00
irqflags.h OpenRISC: IRQ 2011-07-22 18:46:33 +02:00
Kbuild openrisc: add cacheflush support to fix icache aliasing 2017-11-03 14:01:15 +09:00
linkage.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
mmu_context.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
mmu.h
page.h openrisc: drop wrongly typed definition of page_to_virt() 2016-04-22 10:08:34 +01:00
pgalloc.h openrisc: Consolidate setup to use memblock instead of bootmem 2016-12-12 23:10:00 +09:00
pgtable.h openrisc: add cacheflush support to fix icache aliasing 2017-11-03 14:01:15 +09:00
processor.h Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
ptrace.h UAPI: (Scripted) Disintegrate arch/openrisc/include/asm 2012-10-09 09:47:18 +01:00
serial.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
smp.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
spinlock_types.h openrisc: use qspinlocks and qrwlocks 2017-11-03 14:01:12 +09:00
spinlock.h openrisc: use qspinlocks and qrwlocks 2017-11-03 14:01:12 +09:00
spr_defs.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
spr.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
string.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
syscall.h ARCH: AUDIT: implement syscall_get_arch for all arches 2014-09-23 16:20:10 -04:00
syscalls.h openrisc: switch to use of generic fork and clone 2012-11-28 23:43:40 -05:00
thread_info.h Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
time.h openrisc: add tick timer multi-core sync logic 2017-11-03 14:01:16 +09:00
timex.h OpenRISC: Timekeeping 2011-07-22 18:46:32 +02:00
tlb.h
tlbflush.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
uaccess.h kill strlen_user() 2017-05-15 23:40:22 -04:00
unaligned.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
unwinder.h openrisc: support framepointers and STACKTRACE_SUPPORT 2017-11-03 14:01:15 +09:00