Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
arch/arm64/kernel/hw_breakpoint.c
··· 28 28 #include <linux/ptrace.h> 29 29 #include <linux/smp.h> 30 30 31 + #include <asm/compat.h> 31 32 #include <asm/current.h> 32 33 #include <asm/debug-monitors.h> 33 34 #include <asm/hw_breakpoint.h>