qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ptimer: Remove old ptimer_init_with_bh() API


From: Richard Henderson
Subject: Re: [PATCH] ptimer: Remove old ptimer_init_with_bh() API
Date: Fri, 25 Oct 2019 17:35:32 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 10/25/19 10:24 AM, Peter Maydell wrote:
> 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 <address@hidden>
> ---
>  include/hw/ptimer.h | 45 +++++++++++-----------
>  hw/core/ptimer.c    | 91 ++++++++-------------------------------------
>  2 files changed, 36 insertions(+), 100 deletions(-)

Reviewed-by: Richard Henderson <address@hidden>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]