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

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


On 4/4/2016 1:42 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

CPU. My spell checker also trips over "hotplugged"...

function calls are no longer required.

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

Explicitly.

Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: Will Deacon <will.deacon@xxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Anna-Maria Gleixner <anna-maria@xxxxxxxxxxxxx>
[...]

MBR, Sergei