arm/hw_breakpoint.c: Added #include <linux/kdebug.h> instead of<asm/kdebug.h>
A message that is not in the archive (sent off-list or not yet received): "000501d0a427$ad431980$07c94c80$@s"@samsung.com
Quoted 14 lines · Maninder Singh
This patch fixes below checkpatch.pl warning:
WARNING: Use #include <linux/kdebug.h> instead of <asm/kdebug.h>Signed-off-by Maninder Singh <[email protected]>Reviewed-by Vaneet Narang <[email protected]>---
arch/arm/kernel/hw_breakpoint.c| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)arch/arm/kernel/hw_breakpoint.c +0
-0
arch/arm/kernel/hw_breakpoint.c line 40
Quoted 7 lines
arch/arm/kernel/hw_breakpoint.c +1
-1@@ -35,7 +35,7 @@#include <asm/cputype.h> #include <asm/current.h> #include <asm/hw_breakpoint.h> -#include <asm/kdebug.h> +#include <linux/kdebug.h> #include <asm/traps.h> /* Breakpoint currently in use for each BRP. */
afaict, we don't even need the header so we can just drop the #include altogether. Same for arm64.
Will