powerpc/crc: include <linux/uaccess.h>
Subsystems (2)
PATCH 1/1 powerpc/crc: include <linux/uaccess.h>
From: Eric Biggers <[email protected]>
Since <asm/simd.h> no longer transitively includes <linux/uaccess.h> which provides pagefault_disable() and pagefault_enable(), <linux/uaccess.h> now needs to be included directly.
Fixes 7ba8df47810f ("asm-generic: Make simd.h more resilient")
Signed-off-by Eric Biggers <[email protected]>
---
I can take this via the crc tree, but it really should go via crypto since the patch that broke this is in there...
arch/powerpc/lib/crc-t10dif-glue.c | 1 + arch/powerpc/lib/crc32-glue.c | 1 + 2 files changed, 2 insertions(+)
arch/powerpc/lib/crc-t10dif-glue.c +1 -0
@@ -11,10 +11,11 @@#include <linux/init.h> #include <linux/module.h> #include <linux/string.h> #include <linux/kernel.h> #include <linux/cpufeature.h> +#include <linux/uaccess.h> #include <asm/simd.h> #include <asm/switch_to.h> #define VMX_ALIGN 16#define VMX_ALIGN_MASK (VMX_ALIGN-1)
arch/powerpc/lib/crc32-glue.c +1 -0
@@ -3,10 +3,11 @@#include <crypto/internal/simd.h> #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/cpufeature.h> +#include <linux/uaccess.h> #include <asm/simd.h> #include <asm/switch_to.h> #define VMX_ALIGN 16#define VMX_ALIGN_MASK (VMX_ALIGN-1)
base-commit: 5f7325fbb3d416ba66f163a9272e17d70f1d9bf4
Signature · 1 line
2.49.0