summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2015-10-12 12:10:53 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2015-10-12 12:10:53 +0100
commitcb50ce324e72bfd5d191d0a834a0ead1a08666b7 (patch)
tree2347f843c96274fc865fafeecb2c33f817a6297c /arch/arm64/kernel
parent217d453d473c5ddfd140a06bf9d8575218551020 (diff)
downloadop-kernel-dev-cb50ce324e72bfd5d191d0a834a0ead1a08666b7.zip
op-kernel-dev-cb50ce324e72bfd5d191d0a834a0ead1a08666b7.tar.gz
arm64: Fix missing #include in hw_breakpoint.c
A prior commit used to detect the hw breakpoint ABI behaviour based on the target state missed the asm/compat.h include and the build fails with !CONFIG_COMPAT. Fixes: 8f48c0629049 ("arm64: hw_breakpoint: use target state to determine ABI behaviour") Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r--arch/arm64/kernel/hw_breakpoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/hw_breakpoint.c b/arch/arm64/kernel/hw_breakpoint.c
index 46465d9..b45c95d 100644
--- a/arch/arm64/kernel/hw_breakpoint.c
+++ b/arch/arm64/kernel/hw_breakpoint.c
@@ -28,6 +28,7 @@
#include <linux/ptrace.h>
#include <linux/smp.h>
+#include <asm/compat.h>
#include <asm/current.h>
#include <asm/debug-monitors.h>
#include <asm/hw_breakpoint.h>
OpenPOWER on IntegriCloud