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 e67dba40d52eca29ccec805704f06d55d22eaaf2..61de0654820ed8dd6c401816a6c26ec22dae4673 100644 (file)
@@ -45,6 +45,7 @@
 #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>