summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-04-30 18:55:50 +0100
committerWill Deacon <will.deacon@arm.com>2015-07-27 14:26:34 +0100
commit144e9697a9e70b5549fd52df90111f1410bcbfeb (patch)
tree75bf9f24e712ad440e83be1299a5d18c648002db
parent9511ca19dafbd503fb467d451fe331a6008f08cf (diff)
downloadop-kernel-dev-144e9697a9e70b5549fd52df90111f1410bcbfeb.zip
op-kernel-dev-144e9697a9e70b5549fd52df90111f1410bcbfeb.tar.gz
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 <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r--arch/arm64/include/asm/cpufeature.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h
index d71140b..40e106f 100644
--- a/arch/arm64/include/asm/cpufeature.h
+++ b/arch/arm64/include/asm/cpufeature.h
@@ -31,6 +31,8 @@
#ifndef __ASSEMBLY__
+#include <linux/kernel.h>
+
struct arm64_cpu_capabilities {
const char *desc;
u16 capability;
OpenPOWER on IntegriCloud