diff mbox

arm: remove traces of perf_ops_bp

Message ID 1470934766-4009-1-git-send-email-mark.rutland@arm.com
State Accepted
Commit 10b52a49ac62cd8cedc08c50178dc6fbb8925b87
Headers show

Commit Message

Mark Rutland Aug. 11, 2016, 4:59 p.m. UTC
Even though perf_ops_bp was removed/renamed back in commit
b0a873ebbf87bf38 ("perf: Register PMU implementations"), as part of
v2.6.37, its definition still lives on in some arch headers.

This patch removes the vestigal definition from arm.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>

Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
---
 arch/arm/include/asm/hw_breakpoint.h | 1 -
 1 file changed, 1 deletion(-)

-- 
1.9.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Comments

Will Deacon Aug. 15, 2016, 9:46 a.m. UTC | #1
On Thu, Aug 11, 2016 at 05:59:26PM +0100, Mark Rutland wrote:
> Even though perf_ops_bp was removed/renamed back in commit

> b0a873ebbf87bf38 ("perf: Register PMU implementations"), as part of

> v2.6.37, its definition still lives on in some arch headers.

> 

> This patch removes the vestigal definition from arm.

> 

> Signed-off-by: Mark Rutland <mark.rutland@arm.com>

> Cc: Russell King <linux@armlinux.org.uk>

> Cc: Will Deacon <will.deacon@arm.com>

> ---

>  arch/arm/include/asm/hw_breakpoint.h | 1 -

>  1 file changed, 1 deletion(-)


Acked-by: Will Deacon <will.deacon@arm.com>


Please put this into the patch system -- I'll pick the other one up for
arm64.

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Mark Rutland Aug. 18, 2016, 10:47 a.m. UTC | #2
On Mon, Aug 15, 2016 at 10:46:50AM +0100, Will Deacon wrote:
> On Thu, Aug 11, 2016 at 05:59:26PM +0100, Mark Rutland wrote:

> > Even though perf_ops_bp was removed/renamed back in commit

> > b0a873ebbf87bf38 ("perf: Register PMU implementations"), as part of

> > v2.6.37, its definition still lives on in some arch headers.

> > 

> > This patch removes the vestigal definition from arm.

> > 

> > Signed-off-by: Mark Rutland <mark.rutland@arm.com>

> > Cc: Russell King <linux@armlinux.org.uk>

> > Cc: Will Deacon <will.deacon@arm.com>

> > ---

> >  arch/arm/include/asm/hw_breakpoint.h | 1 -

> >  1 file changed, 1 deletion(-)

> 

> Acked-by: Will Deacon <will.deacon@arm.com>

> 

> Please put this into the patch system -- I'll pick the other one up for

> arm64.


Cheers.

I've dropped this in the patch system as 8598/1.

Mark.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox

Patch

diff --git a/arch/arm/include/asm/hw_breakpoint.h b/arch/arm/include/asm/hw_breakpoint.h
index 8e427c7..afcaf8b 100644
--- a/arch/arm/include/asm/hw_breakpoint.h
+++ b/arch/arm/include/asm/hw_breakpoint.h
@@ -114,7 +114,6 @@  struct notifier_block;
 struct perf_event;
 struct pmu;
 
-extern struct pmu perf_ops_bp;
 extern int arch_bp_generic_fields(struct arch_hw_breakpoint_ctrl ctrl,
 				  int *gen_len, int *gen_type);
 extern int arch_check_bp_in_kernelspace(struct perf_event *bp);