diff mbox

[v2] arm:arm64/hw_breakpoint.c: Remove unnecessary header

Message ID "000a01d0a433$033bc340$09b349c0$@s"@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Maninder Singh June 11, 2015, 10:39 a.m. UTC
Header <asm/kdebug.h> is not needed in hw_breakpoint.c 
for arm as well as arm64.
Removing the same.

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Reviewed-by: Vaneet Narang <v.narang@samsung.com>
---
 arch/arm/kernel/hw_breakpoint.c   |    1 -
 arch/arm64/kernel/hw_breakpoint.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

Comments

Will Deacon June 11, 2015, 3:29 p.m. UTC | #1
On Thu, Jun 11, 2015 at 11:39:58AM +0100, Maninder Singh wrote:
> Header <asm/kdebug.h> is not needed in hw_breakpoint.c 
> for arm as well as arm64.
> Removing the same.
> 
> Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
> Reviewed-by: Vaneet Narang <v.narang@samsung.com>
> ---
>  arch/arm/kernel/hw_breakpoint.c   |    1 -
>  arch/arm64/kernel/hw_breakpoint.c |    1 -
>  2 files changed, 0 insertions(+), 2 deletions(-)

Sorry for the bother, but can you send this as two separate patches please?
They'll need to go via two different trees to get into mainline.

Will
Catalin Marinas June 11, 2015, 4:13 p.m. UTC | #2
On Thu, Jun 11, 2015 at 04:29:43PM +0100, Will Deacon wrote:
> On Thu, Jun 11, 2015 at 11:39:58AM +0100, Maninder Singh wrote:
> > Header <asm/kdebug.h> is not needed in hw_breakpoint.c 
> > for arm as well as arm64.
> > Removing the same.
> > 
> > Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
> > Reviewed-by: Vaneet Narang <v.narang@samsung.com>
> > ---
> >  arch/arm/kernel/hw_breakpoint.c   |    1 -
> >  arch/arm64/kernel/hw_breakpoint.c |    1 -
> >  2 files changed, 0 insertions(+), 2 deletions(-)
> 
> Sorry for the bother, but can you send this as two separate patches please?
> They'll need to go via two different trees to get into mainline.

Or just send it to kernel-janitors@vger.kernel.org.
diff mbox

Patch

diff --git a/arch/arm/kernel/hw_breakpoint.c
b/arch/arm/kernel/hw_breakpoint.c
index dc7d0a9..6284779 100644
--- a/arch/arm/kernel/hw_breakpoint.c
+++ b/arch/arm/kernel/hw_breakpoint.c
@@ -35,7 +35,6 @@ 
 #include <asm/cputype.h>
 #include <asm/current.h>
 #include <asm/hw_breakpoint.h>
-#include <asm/kdebug.h>
 #include <asm/traps.h>
 
 /* Breakpoint currently in use for each BRP. */
diff --git a/arch/arm64/kernel/hw_breakpoint.c
b/arch/arm64/kernel/hw_breakpoint.c
index e7d934d..7a1a5da 100644
--- a/arch/arm64/kernel/hw_breakpoint.c
+++ b/arch/arm64/kernel/hw_breakpoint.c
@@ -31,7 +31,6 @@ 
 #include <asm/current.h>
 #include <asm/debug-monitors.h>
 #include <asm/hw_breakpoint.h>
-#include <asm/kdebug.h>
 #include <asm/traps.h>
 #include <asm/cputype.h>
 #include <asm/system_misc.h>