]> git.proxmox.com Git - mirror_qemu.git/commit
hw/watchdog/milkymist-sysctl.c: Switch to transaction-based ptimer API
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Oct 2019 14:10:40 +0000 (15:10 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 25 Oct 2019 12:09:27 +0000 (13:09 +0100)
commit98a44c1603596fcfffdae5dc674932bc923db049
tree4671651d9b92ea5c9e08de255e575dd06e857af6
parentefe62d6fa0dd67573c0cb7f06e87c03801a085d5
hw/watchdog/milkymist-sysctl.c: Switch to transaction-based ptimer API

Switch the milkymist-sysctl code away from bottom-half based
ptimers to the new transaction-based ptimer API.  This just requires
adding begin/commit calls around the various places that modify the
ptimer state, and using the new ptimer_init() function to create the
timer.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20191021141040.11007-1-peter.maydell@linaro.org
hw/timer/milkymist-sysctl.c