aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/smp.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-11-08 11:08:26 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-11-11 16:37:41 +0100
commitd5c352cdd022d2c304c6ab19d100631356f2198c (patch)
tree602e29e76047f489c82e8264011d219943ec78f7 /arch/s390/kernel/smp.c
parents390/preempt: move preempt_count to the lowcore (diff)
downloadlinux-dev-d5c352cdd022d2c304c6ab19d100631356f2198c.tar.xz
linux-dev-d5c352cdd022d2c304c6ab19d100631356f2198c.zip
s390: move thread_info into task_struct
This is the s390 variant of commit 15f4eae70d36 ("x86: Move thread_info into task_struct"). Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to '')
-rw-r--r--arch/s390/kernel/smp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c
index 35531fe1c5ea..8c7ab7bd3e10 100644
--- a/arch/s390/kernel/smp.c
+++ b/arch/s390/kernel/smp.c
@@ -263,7 +263,6 @@ static void pcpu_attach_task(struct pcpu *pcpu, struct task_struct *tsk)
lc->kernel_stack = (unsigned long) task_stack_page(tsk)
+ THREAD_SIZE - STACK_FRAME_OVERHEAD - sizeof(struct pt_regs);
- lc->thread_info = (unsigned long) task_thread_info(tsk);
lc->current_task = (unsigned long) tsk;
lc->lpp = LPP_MAGIC;
lc->current_pid = tsk->pid;