Hmm.. Something like
#define timeout_expired(x) time_after(jiffies, (x))
migth indeed make sense.
But I'm a lazy bastard. Is there some victim^H^H^H^H^H^Hhero who would
want to do the 'sed s/time_after(jiffies,/timeout_expired(/g' and verify
that it does the right thing and send it to me as a patch?
The thing is, I wonder if it should be "time_after(jiffies,x)" or
"time_after_eq(jiffies,x)". There's a single-tick difference there..
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/