Commit d901abf1 authored by Hans Petter Selasky's avatar Hans Petter Selasky
Browse files

Implement wait_on_bit() function macro in the LinuxKPI.

MFC after:	1 week
Submitted by:	Johannes Lundberg <johalun0@gmail.com>
Sponsored by:	Mellanox Technologies
Sponsored by:	Limelight Networks
parent 9555cfd2
......@@ -249,6 +249,8 @@ void linux_wake_up_atomic_t(atomic_t *);
int linux_wait_on_atomic_t(atomic_t *, unsigned int);
#define wake_up_bit(word, bit) linux_wake_up_bit(word, bit)
#define wait_on_bit(word, bit, state) \
linux_wait_on_bit_timeout(word, bit, state, MAX_SCHEDULE_TIMEOUT)
#define wait_on_bit_timeout(word, bit, state, timeout) \
linux_wait_on_bit_timeout(word, bit, state, timeout)
#define wake_up_atomic_t(a) linux_wake_up_atomic_t(a)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment