Introduce down_interruptible_timeout() using timers to make the waiter stop waiting by simulating a signal (see first patch for more details). As well introduce asm-generic/semaphore.h and make other architectures use it too.
-- Inaky - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/