]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm64: cpufeature.h: add missing #include of kernel.h
authorWill Deacon <will.deacon@arm.com>
Thu, 30 Apr 2015 17:55:50 +0000 (18:55 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 13:26:34 +0000 (14:26 +0100)
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 <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpufeature.h

index d71140b76773b2c41d9095f2252efed8ed764154..40e106f81f27effd19d22d4a79dfbbd37755d089 100644 (file)
@@ -31,6 +31,8 @@
 
 #ifndef __ASSEMBLY__
 
+#include <linux/kernel.h>
+
 struct arm64_cpu_capabilities {
        const char *desc;
        u16 capability;