projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9511ca1
)
arm64: cpufeature.h: add missing #include of kernel.h
author
Will Deacon
<will.deacon@arm.com>
Thu, 30 Apr 2015 17:55:50 +0000
(18:55 +0100)
committer
Will 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm64/include/asm/cpufeature.h
b/arch/arm64/include/asm/cpufeature.h
index d71140b76773b2c41d9095f2252efed8ed764154..40e106f81f27effd19d22d4a79dfbbd37755d089 100644
(file)
--- 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;