android_kernel_oneplus_msm8998/arch/ia64
Linus Torvalds f707c0f98f UPSTREAM: 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 b235beea9e99 ("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
b235beea9e99, 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>

Bug: 38331309
Change-Id: Ia96e9225b07e38df2f4af2b9a7eb2aa972d8845a
(cherry picked from commit 7f1a00b6fcd0e3c19beba2e92d157dc0c2cf3494)
Signed-off-by: Zubin Mithra <zsm@google.com>
2017-08-09 15:23:22 +01: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 mm: rename alloc_pages_exact_node() to __alloc_pages_node() 2015-09-08 15:35:28 -07:00
include UPSTREAM: Clarify naming of thread info/stack allocators 2017-08-09 15:23:22 +01:00
kernel UPSTREAM: fix up initial thread stack pointer vs thread_info confusion 2017-08-09 15:23:22 +01:00
lib Fix common misspellings 2011-03-31 11:26:23 -03:00
mm libnvdimm for 4.3: 2015-09-08 14:35:59 -07:00
oprofile Disintegrate asm/system.h for IA64 2012-03-28 18:30:02 +01:00
pci ia64/PCI/ACPI: Use common interface to support PCI host bridge 2015-10-16 22:18:52 +02:00
scripts ia64: remove paravirt code 2015-06-10 14:26:32 -07:00
sn mm: rename alloc_pages_exact_node() to __alloc_pages_node() 2015-09-08 15:35:28 -07:00
uv
install.sh
Kconfig UPSTREAM: Clarify naming of thread info/stack allocators 2017-08-09 15:23:22 +01:00
Kconfig.debug
Makefile UPSTREAM: kbuild: drop FORCE from PHONY targets 2017-03-30 09:11:57 -07:00
module.lds