On Fri, May 7, 2010 at 5:51 PM, Eric Dumazet <eric.dumazet@gmail.com> wrote:
Why not use a wrapper function?
sth. like:
static inline int __napi_schedule_prep(struct napi_struct *n)
{
return (!__test_and_set_bit(NAPI_STATE_SCHED, &n->state)
}
--
Regards,
Changli Gao(xiaosuo@gmail.com)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html