]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb873e9cdc9bcc15beca6ba0627ad19bb861292b
tree147970db29e06ac5126ba645ef3a7924b63fa7bd
parentb8fdfe059521b6a18cdcd7edd97b82b4e5217bf5
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