Skip to content

Commit cb50ce3

Browse files
committed
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: 8f48c06 ("arm64: hw_breakpoint: use target state to determine ABI behaviour") Signed-off-by: Catalin Marinas <[email protected]>
1 parent 217d453 commit cb50ce3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kernel/hw_breakpoint.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <linux/ptrace.h>
2929
#include <linux/smp.h>
3030

31+
#include <asm/compat.h>
3132
#include <asm/current.h>
3233
#include <asm/debug-monitors.h>
3334
#include <asm/hw_breakpoint.h>

0 commit comments

Comments
 (0)