From: Will Deacon Date: Tue, 12 Dec 2017 11:53:26 +0000 (+0000) Subject: arm64: hw_breakpoint: Use linux/uaccess.h instead of asm/uaccess.h X-Git-Tag: Ubuntu-5.10.0-12.13~8807^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0e17cada2a5b4dc847082e1db0e3f84599ffd436;p=mirror_ubuntu-hirsute-kernel.git arm64: hw_breakpoint: Use linux/uaccess.h instead of asm/uaccess.h The only inclusion of asm/uaccess.h should be by linux/uaccess.h. All other headers should use the latter. Reported-by: Al Viro Signed-off-by: Will Deacon --- diff --git a/arch/arm64/kernel/hw_breakpoint.c b/arch/arm64/kernel/hw_breakpoint.c index 749f81779420..74bb56f656ef 100644 --- a/arch/arm64/kernel/hw_breakpoint.c +++ b/arch/arm64/kernel/hw_breakpoint.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include @@ -36,7 +37,6 @@ #include #include #include -#include /* Breakpoint currently in use for each BRP. */ static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[ARM_MAX_BRP]);