diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2015-10-12 12:10:53 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-10-12 12:10:53 +0100 |
commit | cb50ce324e72bfd5d191d0a834a0ead1a08666b7 (patch) | |
tree | 2347f843c96274fc865fafeecb2c33f817a6297c | |
parent | 217d453d473c5ddfd140a06bf9d8575218551020 (diff) | |
download | linux-cb50ce324e72bfd5d191d0a834a0ead1a08666b7.tar.gz linux-cb50ce324e72bfd5d191d0a834a0ead1a08666b7.tar.bz2 linux-cb50ce324e72bfd5d191d0a834a0ead1a08666b7.zip |
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>
-rw-r--r-- | arch/arm64/kernel/hw_breakpoint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/hw_breakpoint.c b/arch/arm64/kernel/hw_breakpoint.c index 46465d9fbc4d..b45c95d34b83 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> |