CRYPTO: Octeon: always disable preemption when using crypto engine
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 8 Mar 2015 20:07:42 +0000 (22:07 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 24 Mar 2015 14:15:37 +0000 (15:15 +0100)
commite606ee200a83bec648aaf5442ce9e71fc07b215d
treea81d367508d4b5f5a353f257df4ef037066c3371
parentf7715e72f5630b42c33360dbf8d22e52aaa76f8e
CRYPTO: Octeon: always disable preemption when using crypto engine

Always disable preemption on behalf of the drivers when crypto engine
is taken into use. This will simplify the usage.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: David S. Miller <davem@davemloft.net>
Cc: linux-crypto@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/9494/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/crypto/octeon-crypto.c
arch/mips/cavium-octeon/crypto/octeon-md5.c