summaryrefslogtreecommitdiff
path: root/arch/powerpc/crypto/sha256-spe-glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/crypto/sha256-spe-glue.c')
-rw-r--r--arch/powerpc/crypto/sha256-spe-glue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/crypto/sha256-spe-glue.c b/arch/powerpc/crypto/sha256-spe-glue.c
index f4a616fe1..718a079dc 100644
--- a/arch/powerpc/crypto/sha256-spe-glue.c
+++ b/arch/powerpc/crypto/sha256-spe-glue.c
@@ -47,6 +47,7 @@ static void spe_begin(void)
static void spe_end(void)
{
+ disable_kernel_spe();
/* reenable preemption */
preempt_enable();
}