• Linus Torvalds's avatar
    fix up initial thread stack pointer vs thread_info confusion · 7f1a00b6
    Linus Torvalds authored
    The INIT_TASK() initializer was similarly confused about the stack vs
    thread_info allocation that the allocators had, and that were fixed in
    commit b235beea ("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
    b235beea, 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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    7f1a00b6
Name
Last commit
Last update
..
acpi Loading commit data...
asm-generic Loading commit data...
clocksource Loading commit data...
crypto Loading commit data...
drm Loading commit data...
dt-bindings Loading commit data...
keys Loading commit data...
kvm Loading commit data...
linux Loading commit data...
math-emu Loading commit data...
media Loading commit data...
memory Loading commit data...
misc Loading commit data...
net Loading commit data...
pcmcia Loading commit data...
ras Loading commit data...
rdma Loading commit data...
rxrpc Loading commit data...
scsi Loading commit data...
soc Loading commit data...
sound Loading commit data...
target Loading commit data...
trace Loading commit data...
uapi Loading commit data...
video Loading commit data...
xen Loading commit data...
Kbuild Loading commit data...