netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mlx4: needs vmalloc.h for vmap()
@ 2008-02-11 22:11 Kyle McMartin
  2008-02-11 22:34 ` Roland Dreier
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle McMartin @ 2008-02-11 22:11 UTC (permalink / raw)
  To: netdev; +Cc: Roland Dreier, Jack Morgenstein

Commit 313abe55a87bc10e55d00f337d609e17ad5f8c9a added a vmap usage to
mlx4. Unfortunately on some platforms (ppc64) <linux/vmalloc.h> is not
implicitly included. Fix that.

Signed-off-by: Kyle McMartin <kmcmartin@redhat.com>

---
diff --git a/drivers/net/mlx4/alloc.c b/drivers/net/mlx4/alloc.c
index 521dc03..75ef9d0 100644
--- a/drivers/net/mlx4/alloc.c
+++ b/drivers/net/mlx4/alloc.c
@@ -34,6 +34,7 @@
 #include <linux/slab.h>
 #include <linux/bitmap.h>
 #include <linux/dma-mapping.h>
+#include <linux/vmalloc.h>
 
 #include "mlx4.h"
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mlx4: needs vmalloc.h for vmap()
  2008-02-11 22:11 [PATCH] mlx4: needs vmalloc.h for vmap() Kyle McMartin
@ 2008-02-11 22:34 ` Roland Dreier
  0 siblings, 0 replies; 2+ messages in thread
From: Roland Dreier @ 2008-02-11 22:34 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: netdev, Roland Dreier, Jack Morgenstein

thanks, just merged the same patch from Olof Johansson.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-11 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-11 22:11 [PATCH] mlx4: needs vmalloc.h for vmap() Kyle McMartin
2008-02-11 22:34 ` Roland Dreier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).