openrisc: Only kick cpu on timeout, not on update
commit373b259b660a8ff0960a979481c19b78d51e023a
authorStafford Horne <shorne@gmail.com>
Sat, 15 Jul 2017 11:57:21 +0000 (15 20:57 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 20 Oct 2017 21:37:06 +0000 (21 06:37 +0900)
treee92c6fd505f963f4ea297a0a1a4699eeef4b74b9
parent13f1c773640171efa8175b1ba6dcd624c1ad68c1
openrisc: Only kick cpu on timeout, not on update

Previously we were kicking the cpu on every update.  This caused
problems noticeable in SMP configurations where one CPU got pinned
continuously servicing timer exceptions.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
hw/openrisc/cputimer.c