Commit 082471a8 authored by Paul Walmsley's avatar Paul Walmsley Committed by Will Deacon

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
<> to keep the includes in alphabetical order
by filename.
Signed-off-by: default avatarPaul Walmsley <>
Cc: Paul Walmsley <>
Cc: Catalin Marinas <>
Cc: Will Deacon <>
Acked-by: default avatarMark Rutland <>
Signed-off-by: default avatarWill Deacon <>
parent 2ec4560b
......@@ -21,6 +21,7 @@
#include <asm/barrier.h>
#include <linux/bug.h>
#include <linux/init.h>
#include <linux/types.h>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment