WSL2-Linux-Kernel/arch/ia64
Linus Torvalds 7f1a00b6fc fix up initial thread stack pointer vs thread_info confusion
The INIT_TASK() initializer was similarly confused about the stack vs
thread_info allocation that the allocators had, and that were fixed in
commit b235beea9e ("Clarify naming of thread info/stack allocators").

The task ->stack pointer only incidentally ends up having the same value
as the thread_info, and in fact that will change.

So fix the initial task struct initializer to point to 'init_stack'
instead of 'init_thread_info', and make sure the ia64 definition for
that exists.

This actually makes the ia64 tsk->stack pointer be sensible for the
initial task, but not for any other task.  As mentioned in commit
b235beea9e, that whole pointer isn't actually used on ia64, since
task_stack_page() there just points to the (single) allocation.

All the other architectures seem to have copied the 'init_stack'
definition, even if it tended to be generally unusued.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-06-24 17:07:33 -07:00
..
configs [IA64] refresh arch/ia64/configs/* using "make savedefconfig" 2014-09-23 11:09:29 -07:00
dig Disintegrate asm/system.h for IA64 2012-03-28 18:30:02 +01:00
hp tty: Replace TTY_IO_ERROR bit tests with tty_io_error() 2016-04-30 09:26:55 -07:00
include Clarify naming of thread info/stack allocators 2016-06-24 15:09:37 -07:00
kernel fix up initial thread stack pointer vs thread_info confusion 2016-06-24 17:07:33 -07:00
lib Merge branch 'master' into for-next 2016-04-18 11:18:55 +02:00
mm ia64/extable: use generic search and sort routines 2016-03-22 15:36:02 -07:00
oprofile Disintegrate asm/system.h for IA64 2012-03-28 18:30:02 +01:00
pci PCI: Set ROM shadow location in arch code, not in PCI core 2016-03-08 12:14:31 -06:00
scripts ia64: remove paravirt code 2015-06-10 14:26:32 -07:00
sn ia64: Reduce stack usage by iterating over nodemask 2016-05-05 10:29:14 -07:00
uv ia64: change to new flag variables 2011-03-17 14:02:56 +01:00
Kconfig Clarify naming of thread info/stack allocators 2016-06-24 15:09:37 -07:00
Kconfig.debug
Makefile kbuild: drop redundant "PHONY += FORCE" 2016-04-20 10:38:40 +02:00
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
module.lds