crypto: vmx - disable preemption to enable vsx in aes_ctr.c
authorLi Zhong <zhong@linux.vnet.ibm.com>
Fri, 20 Jan 2017 08:35:33 +0000 (16:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Nov 2017 14:53:13 +0000 (15:53 +0100)
commit9c9040a85966211de3ce1a53d3a9547b5615ff04
treeebf54ee4ee3ac67fd98a4ec63dafd83e10d9dace
parentdea9c75f3f624056b666fa9d9b931cd09715b3dd
crypto: vmx - disable preemption to enable vsx in aes_ctr.c

[ Upstream commit 7dede913fc2ab9c0d3bff3a49e26fa9e858b0c13 ]

Some preemptible check warnings were reported from enable_kernel_vsx(). This
patch disables preemption in aes_ctr.c before enabling vsx, and they are now
consistent with other files in the same directory.

Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/vmx/aes_ctr.c