MIPS: sync-r4k: do slave counter synchronization with disabled HW interrupts
authorSergey Korolev <s.korolev@ndmsystems.com>
Wed, 22 Jan 2020 12:39:08 +0000 (15:39 +0300)
committerPaul Burton <paulburton@kernel.org>
Wed, 22 Jan 2020 18:16:18 +0000 (10:16 -0800)
commit0956be29a96c1ce879b6a8fad1cc61f53c140ec8
treedca57a17008ca000af1d3f6f9fd70e507c0d413a
parentc0e79fd89749b0cda1c72049e2772dd2eeada86f
MIPS: sync-r4k: do slave counter synchronization with disabled HW interrupts

synchronise_count_slave() called with an enabled in mips_clockevent_init()
timer interrupt which may decrease synchronization precision.

Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-kernel@vger.kernel.org
arch/mips/kernel/sync-r4k.c