From: Greg Kroah-Hartman Date: Mon, 10 Feb 2020 17:52:12 +0000 (-0800) Subject: 5.5-stable patches X-Git-Tag: v4.19.103~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d63d99511bd4596c31ddb65ac2e418083111ed10;p=thirdparty%2Fkernel%2Fstable-queue.git 5.5-stable patches added patches: compat-arm64-always-include-asm-generic-compat.h.patch --- diff --git a/queue-5.5/compat-arm64-always-include-asm-generic-compat.h.patch b/queue-5.5/compat-arm64-always-include-asm-generic-compat.h.patch new file mode 100644 index 00000000000..7e4e68913b1 --- /dev/null +++ b/queue-5.5/compat-arm64-always-include-asm-generic-compat.h.patch @@ -0,0 +1,45 @@ +From 556d687a4ccd54ab50a721ddde42c820545effd9 Mon Sep 17 00:00:00 2001 +From: Arnd Bergmann +Date: Mon, 9 Dec 2019 16:16:20 +0100 +Subject: compat: ARM64: always include asm-generic/compat.h + +From: Arnd Bergmann + +commit 556d687a4ccd54ab50a721ddde42c820545effd9 upstream. + +In order to use compat_* type defininitions in device drivers +outside of CONFIG_COMPAT, move the inclusion of asm-generic/compat.h +ahead of the #ifdef. + +All other architectures already do this. + +Acked-by: Will Deacon +Reviewed-by: Ben Hutchings +Signed-off-by: Arnd Bergmann +Signed-off-by: Greg Kroah-Hartman + +--- + arch/arm64/include/asm/compat.h | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +--- a/arch/arm64/include/asm/compat.h ++++ b/arch/arm64/include/asm/compat.h +@@ -4,6 +4,9 @@ + */ + #ifndef __ASM_COMPAT_H + #define __ASM_COMPAT_H ++ ++#include ++ + #ifdef CONFIG_COMPAT + + /* +@@ -13,8 +16,6 @@ + #include + #include + +-#include +- + #define COMPAT_USER_HZ 100 + #ifdef __AARCH64EB__ + #define COMPAT_UTS_MACHINE "armv8b\0\0" diff --git a/queue-5.5/series b/queue-5.5/series index 34ee20708f4..9547d6366cf 100644 --- a/queue-5.5/series +++ b/queue-5.5/series @@ -365,3 +365,4 @@ crypto-atmel-aes-fix-ctr-counter-overflow-when-multi.patch crypto-atmel-tdes-map-driver-data-flags-to-mode-regi.patch regulator-fix-for-regulator-core-add-regulator_is_eq.patch powerpc-kuap-fix-set-direction-in-allow-prevent_user.patch +compat-arm64-always-include-asm-generic-compat.h.patch