commit | 2d6f0600b2cd755959527230ef5a6fba97bb762a | [log] [tgz] |
---|---|---|
author | Leonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com> | Mon Jul 13 13:51:39 2015 -0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jul 14 14:56:48 2015 +0800 |
tree | daecab27712eeca306e75969d9d0ef988feda758 | |
parent | 72cd7b44bc99376b3f3c93cedcd052663fcdf705 [diff] |
crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions vmx-crypto driver make use of some VSX instructions which are only available if VSX is enabled. Running in cases where VSX are not enabled vmx-crypto fails in a VSX exception. In order to fix this enable_kernel_vsx() was added to turn on VSX instructions for vmx-crypto. Signed-off-by: Leonidas S. Barbosa <leosilva@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>