Re: [Patch RFC 29/37] infiniband: Make user_mad semaphore a real one

From: Roland Dreier
Date: Mon Jul 27 2009 - 12:26:28 EST



> - init_MUTEX(&port->sm_sem);
> + semaphore_init(&port->sm_sem);

OK by me -- although I'm not clear what's wrong with using existing
sema_init().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/