powerpc: Rearrange __switch_to()
authorAnton Blanchard <anton@samba.org>
Thu, 29 Oct 2015 00:44:10 +0000 (11:44 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Dec 2015 08:34:41 +0000 (19:34 +1100)
commitf3d885ccba8539f62e8be3ba29ecf91687120252
tree60e9e6c6c1f54b07c3b833a4749ba50020483b28
parent579e633e764e6e5f7784b74e7df3e81fe11f40de
powerpc: Rearrange __switch_to()

Most of __switch_to() is housekeeping, TLB batching, timekeeping etc.
Move these away from the more complex and critical context switching
code.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c