From: Benjamin Gray Date: Mon, 19 Jun 2023 07:36:24 +0000 (+1000) Subject: powerpc/book3s: Add missing include X-Git-Tag: v6.6.7~2494^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7eec97b32e0b62f54b7f6afb5df189806b1bb87b;p=platform%2Fkernel%2Flinux-starfive.git powerpc/book3s: Add missing include The functions here use struct task_struct fields, so need to import the full definition from . The header that defines current only forward declares struct task_struct. Failing to include this header leads to a compilation error when a translation unit does not also include indirectly. Signed-off-by: Benjamin Gray Reviewed-by: Nicholas Piggin Reviewed-by: Russell Currey Signed-off-by: Michael Ellerman Link: https://msgid.link/20230616034846.311705-2-bgray@linux.ibm.com --- diff --git a/arch/powerpc/include/asm/book3s/64/kup.h b/arch/powerpc/include/asm/book3s/64/kup.h index 54cf468..84c09e5 100644 --- a/arch/powerpc/include/asm/book3s/64/kup.h +++ b/arch/powerpc/include/asm/book3s/64/kup.h @@ -194,6 +194,7 @@ #else /* !__ASSEMBLY__ */ #include +#include DECLARE_STATIC_KEY_FALSE(uaccess_flush_key);