[PATCH 1/2] include: linux/iopoll.h: add optional PBL support
Sascha Hauer
s.hauer at pengutronix.de
Wed Jan 8 07:43:49 PST 2025
On Wed, Jan 08, 2025 at 12:04:19PM +0100, Ahmad Fatoum wrote:
> While we don't have generic clocksource support in PBL, there is no
> reason to not enable read_poll_timeout for use on platforms that have
> their own get_time_ns.
>
> Allow these platforms to use read_poll_timeout by defining two macros:
> read_pol_is_timeout and read_poll_get_time_ns().
>
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> include/linux/iopoll.h | 20 +++++++++++++++-----
> 1 file changed, 15 insertions(+), 5 deletions(-)
This causes some breakage in -next, see https://github.com/barebox/barebox/actions/runs/12673405620/job/35319748177
I reverted this for now.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list