]> git.ipfire.org Git - thirdparty/qemu.git/commit
ptimer: Remove old ptimer_init_with_bh() API
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Nov 2019 13:44:16 +0000 (13:44 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Nov 2019 13:44:16 +0000 (13:44 +0000)
commitaf2a580f7e09359f882014e47a91e620a325537b
tree9e9d5b32508707feb4a592c32872011358f607a1
parent654efcb511d394c1d3f5292c28503d1d19e5b1d3
ptimer: Remove old ptimer_init_with_bh() API

Now all the users of ptimers have converted to the transaction-based
API, we can remove ptimer_init_with_bh() and all the code paths
that are used only by bottom-half based ptimers, and tidy up the
documentation comments to consider the transaction-based API the
only possibility.

The code changes result from:
 * s->bh no longer exists
 * s->callback is now always non-NULL

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191025142411.17085-1-peter.maydell@linaro.org
hw/core/ptimer.c
include/hw/ptimer.h