arm64: Fix missing #include in hw_breakpoint.c
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 12 Oct 2015 11:10:53 +0000 (12:10 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 12 Oct 2015 11:10:53 +0000 (12:10 +0100)
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>
arch/arm64/kernel/hw_breakpoint.c

index 46465d9fbc4d9c170ae4d980ae42957969923d4c..b45c95d34b8323e74992e0a4a56e6da0e1257c60 100644 (file)
@@ -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>