diff mbox

ARM: STi: Remove platform call to trace_hardirqs_off()

Message ID 1433886427-29295-1-git-send-email-peter.griffin@linaro.org
State Accepted
Commit 50de4dd4bc6a6e378841a6705696d2c1f37ac038
Headers show

Commit Message

Peter Griffin June 9, 2015, 9:47 p.m. UTC
Calling trace_hardirqs_off() from the platform specific
secondary startup code as not been necessary since Dec 2010
when Russell King consolidated the call into the common SMP
code.

2c0136d ARM: SMP: consolidate trace_hardirqs_off() into common SMP code

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 arch/arm/mach-sti/platsmp.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Lee Jones June 10, 2015, 7:40 a.m. UTC | #1
On Tue, 09 Jun 2015, Peter Griffin wrote:

> Calling trace_hardirqs_off() from the platform specific
> secondary startup code as not been necessary since Dec 2010
> when Russell King consolidated the call into the common SMP
> code.
> 
> 2c0136d ARM: SMP: consolidate trace_hardirqs_off() into common SMP code
> 
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
>  arch/arm/mach-sti/platsmp.c | 2 --
>  1 file changed, 2 deletions(-)

Acked-by: Lee Jones <lee.jones@linaro.org>

> diff --git a/arch/arm/mach-sti/platsmp.c b/arch/arm/mach-sti/platsmp.c
> index d4b624f..a39f812 100644
> --- a/arch/arm/mach-sti/platsmp.c
> +++ b/arch/arm/mach-sti/platsmp.c
> @@ -38,8 +38,6 @@ static DEFINE_SPINLOCK(boot_lock);
>  
>  static void sti_secondary_init(unsigned int cpu)
>  {
> -	trace_hardirqs_off();
> -
>  	/*
>  	 * let the primary processor know we're out of the
>  	 * pen, then head off into the C entry point
diff mbox

Patch

diff --git a/arch/arm/mach-sti/platsmp.c b/arch/arm/mach-sti/platsmp.c
index d4b624f..a39f812 100644
--- a/arch/arm/mach-sti/platsmp.c
+++ b/arch/arm/mach-sti/platsmp.c
@@ -38,8 +38,6 @@  static DEFINE_SPINLOCK(boot_lock);
 
 static void sti_secondary_init(unsigned int cpu)
 {
-	trace_hardirqs_off();
-
 	/*
 	 * let the primary processor know we're out of the
 	 * pen, then head off into the C entry point