mlx4.h uses struct mutex, so while linux/mutex.h seems to be pulled in indirectly by one of the headers it includes, the right thing to do is to include linux/mutex.h directly.
Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]> --- Roland, can you queue this for upstream pls? Index: ofed_kernel/drivers/net/mlx4/mlx4.h =================================================================== --- ofed_kernel.orig/drivers/net/mlx4/mlx4.h 2007-05-29 14:50:26.000000000 +0300 +++ ofed_kernel/drivers/net/mlx4/mlx4.h 2007-06-11 09:07:36.000000000 +0300 @@ -37,6 +37,7 @@ #ifndef MLX4_H #define MLX4_H +#include <linux/mutex.h> #include <linux/radix-tree.h> #include <linux/mlx4/device.h> -- MST _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
