powerpc: Remove redundant clear of MSR_VSX in __giveup_vsx()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 16 Aug 2017 06:01:17 +0000 (16:01 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Aug 2017 12:35:03 +0000 (22:35 +1000)
commitdc801081f2eae57a389bc9230ff4fb0d91487990
tree147970db29e06ac5126ba645ef3a7924b63fa7bd
parent746874d31cd1173f2dd234c1a5f692939afe0b71
powerpc: Remove redundant clear of MSR_VSX in __giveup_vsx()

__giveup_fpu() already does it and we cannot have MSR_VSX set
without having MSR_FP also set.

This also adds a warning to check we indeed do

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