]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26abed6a9f1bb6a84a51032c45a717ca482149e8
treedca57a17008ca000af1d3f6f9fd70e507c0d413a
parent3774540f3afacd186114c6e2c3d87be6857a8eff
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