diff options
author | Paul Walmsley <pwalmsley@nvidia.com> | 2015-01-05 17:38:41 -0700 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-01-07 11:40:59 +0000 |
commit | 082471a8efe1a91d4e44abec202d9e3067dcec91 (patch) | |
tree | f80690289434cf047a30c6b09a4ec8bd25e17690 /arch | |
parent | 2ec4560b7c73e6c9febc4fb2a3e6af257c904979 (diff) | |
download | op-kernel-dev-082471a8efe1a91d4e44abec202d9e3067dcec91.zip op-kernel-dev-082471a8efe1a91d4e44abec202d9e3067dcec91.tar.gz |
arm64: fix missing linux/bug.h include in asm/arch_timer.h
On next-20150105, defconfig compilation breaks with:
./arch/arm64/include/asm/arch_timer.h:112:2: error: implicit declaration of function ‘BUG’ [-Werror=implicit-function-declaration]
Fix by including linux/bug.h, where the BUG macro is defined.
This second version incorporates a comment from Mark Rutland
<mark.rutland@arm.com> to keep the includes in alphabetical order
by filename.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Paul Walmsley <pwalmsley@nvidia.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/include/asm/arch_timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/arch_timer.h b/arch/arm64/include/asm/arch_timer.h index b1fa4e6..fbe0ca3 100644 --- a/arch/arm64/include/asm/arch_timer.h +++ b/arch/arm64/include/asm/arch_timer.h @@ -21,6 +21,7 @@ #include <asm/barrier.h> +#include <linux/bug.h> #include <linux/init.h> #include <linux/types.h> |