android_kernel_sony_sdm845/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Howells b3d86bab85 BACKPORT: 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>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:59:01 +07:00
..
alpha BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
arc BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
arm BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
arm64 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
avr32 BACKPORT: net: Introduce SO_INCOMING_NAPI_ID 2026-05-15 17:55:02 +07:00
blackfin BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
c6x BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
cris BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
frv BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
h8300 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
hexagon BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
ia64 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
m32r BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
m68k BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
metag BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
microblaze BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
mips BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
mn10300 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
nios2 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
openrisc BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
parisc BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
powerpc BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
s390 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
score BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
sh BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
sparc BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
tile BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
um BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
unicore32 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
x86 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
xtensa BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
.gitignore
Kconfig BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00