]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Pull out ksp_vsid logic into a helper
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jul 2014 02:29:21 +0000 (12:29 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2014 04:10:24 +0000 (14:10 +1000)
commit8a1c2177f72fefd533c4ef2f42cfa13e920c0860
tree2b5d74e2d07357b16446bcd4880b2e18a26a0b38
parent69ddcf213b492f37b96a1446b935c4f9ddacf916
powerpc: Pull out ksp_vsid logic into a helper

The previous patch left a bit of a wart in copy_process(). Clean it up a
bit by moving the logic out into a helper.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/process.c