From: Will Deacon Date: Thu, 30 Apr 2015 17:55:50 +0000 (+0100) Subject: arm64: cpufeature.h: add missing #include of kernel.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=144e9697a9e70b5549fd52df90111f1410bcbfeb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: cpufeature.h: add missing #include of kernel.h cpufeature.h makes use of DECLARE_BITMAP, which in turn relies on the BITS_TO_LONGS and DIV_ROUND_UP macros. This patch includes kernel.h in cpufeature.h to prevent all users having to do the same thing. Acked-by: Catalin Marinas Signed-off-by: Will Deacon --- diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h index d71140b76773..40e106f81f27 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -31,6 +31,8 @@ #ifndef __ASSEMBLY__ +#include + struct arm64_cpu_capabilities { const char *desc; u16 capability;