Re: [PATCH] arm, hw-breakpoint: Remove superfluous SMP function call

From: Sergei Shtylyov
Date: Mon Apr 04 2016 - 10:08:10 EST


On 4/4/2016 1:32 PM, Anna-Maria Gleixner wrote:

Since commit 1cf4f629d9d2 ("cpu/hotplug: Move online calls to
hotplugged cpu") it is ensured that callbacks of CPU_ONLINE and
CPU_DOWN_PREPARE are processed on the hotplugged cpu. Due to this SMP
function calls are no longer required.

Replace smp_call_function_single() with a direct call of
reset_ctrl_regs(). To keep the calling convention, interrupts are
explicitely disabled around the call.

Same typo as in ARM64 patch.

Cc: Will Deacon <will.deacon@xxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>
Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Anna-Maria Gleixner <anna-maria@xxxxxxxxxxxxx>
[...]

MBR, Sergei