IB/qib: Add missing <linux/slab.h> include
authorDavid Miller <davem@davemloft.net>
Thu, 5 Aug 2010 05:55:52 +0000 (05:55 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 5 Aug 2010 21:26:58 +0000 (14:26 -0700)
Fix build failure on sparc64 which is missing the include of
<linux/slab.h> via <asm/pci.h> that x86, powerpc, ia64, etc. have.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib.h

index e67dba4..61de065 100644 (file)
@@ -45,6 +45,7 @@
 #include <linux/mutex.h>
 #include <linux/list.h>
 #include <linux/scatterlist.h>
 #include <linux/mutex.h>
 #include <linux/list.h>
 #include <linux/scatterlist.h>
+#include <linux/slab.h>
 #include <linux/io.h>
 #include <linux/fs.h>
 #include <linux/completion.h>
 #include <linux/io.h>
 #include <linux/fs.h>
 #include <linux/completion.h>