OSDN Git Service

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 16:13:10 +0000 (17:13 +0100)
commit26fa336d69a227061d7396f1d225a4cec8e292af
treea4ccf038c0f7192f91f35c37d0a35bf94b524406
parent30019ca7dc099642af1d3dec3dbe2b231cbb69a6
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