Skip to contentSkip to conversation

arm/hw_breakpoint.c: Added #include <linux/kdebug.h> instead of<asm/kdebug.h>

PATCH Will Deacon 1 participant 1 message Jun 11, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): "000501d0a427$ad431980$07c94c80$@s"@samsung.com

#1 lore raw
Quoted 14 lines · Maninder Singh

This patch fixes below checkpatch.pl warning:
WARNING: Use #include <linux/kdebug.h> instead of <asm/kdebug.h>

---
arch/arm/kernel/hw_breakpoint.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/kernel/hw_breakpoint.c +0 -0
index dc7d0a9..86eef81 100644

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