aboutsummaryrefslogtreecommitdiff
path: root/include/xen
diff options
context:
space:
mode:
authorOleksandr Andrushchenko2020-08-06 12:42:51 +0300
committerTom Rini2020-08-14 15:18:30 -0400
commit242587dca4a7e34023b4c87d5b52a74b2fe7255d (patch)
tree84599821a1cae0230808e56e68a63b6559090739 /include/xen
parent384d5cfe5d7e391a5584492bb2ce5794cbd691a9 (diff)
linux/compat.h: Add wait_event_timeout macro
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@epam.com> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com> [trini: Drop atomic_read from gadget/ether.c as this has existed for a while and now causes problems] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions