[RESEND PATCH v2 08/18] linux/compat.h: Add wait_event_timeout macro

Tom Rini trini at konsulko.com
Fri Aug 14 21:50:36 CEST 2020

On Thu, Aug 06, 2020 at 12:42:51PM +0300, Anastasiia Lukianenko wrote:

> From: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
> Add  wait_event_timeout - sleep until a condition gets true or a
> timeout elapses.
> This is a stripped version of the same from Linux kernel with the
> following u-boot specific modifications:
> - no wait queues supported
> - use u-boot timer to detect timeouts
> - check for Ctrl-C pressed during wait
> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200814/38aca401/attachment.sig>

More information about the U-Boot mailing list