commit | 96c79b6bd74039e8a799e4aa2d331cbd478ab5a1 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Aug 16 16:01:18 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Aug 16 22:35:04 2017 +1000 |
tree | 77b20f4316b3bdb80bbbb2023795dfb5e42cafce | |
parent | dc801081f2eae57a389bc9230ff4fb0d91487990 [diff] |
powerpc: Remove more redundant VSX save/tests __giveup_vsx/save_vsx are completely equivalent to testing MSR_FP and MSR_VEC and calling the corresponding giveup/save function so just remove the spurious VSX cases. Also add WARN_ONs checking that we never have VSX enabled without the two other. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>