[PATCH V4 1/5] The macro spin_event_timeout() takes a condition and timeout value

Timur Tabi timur at freescale.com
Wed May 27 00:20:22 EST 2009


Arnd Bergmann wrote:
> On Tuesday 26 May 2009, Geert Uytterhoeven wrote:
>> However, you can still improve useability by making the macro return the rc,
>> instead of letting the caller pass it, cfr. wait_event_timeout() and friends.

I had that originally, but somewhere during the seven revisions of my macro, it got lost.

I'll post a v9 soon.  This version will take 3 parameters and return __ret, so Jon will need to change his code (sorry).

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Linuxppc-dev mailing list