summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/alloc.c
diff options
context:
space:
mode:
authorAndrew Morton2008-09-05 23:04:07 +0200
committerJeff Garzik2008-09-25 00:48:57 +0200
commit6526128c18564697b301030a7bbf928209e49ae0 (patch)
tree32cc9e5c50697bc25d1e0a6b7880055c54638211 /drivers/net/mlx4/alloc.c
parentdrivers/net/skfp/pmf.c: Use offsetof() macro (diff)
downloadkernel-qcow2-linux-6526128c18564697b301030a7bbf928209e49ae0.tar.gz
kernel-qcow2-linux-6526128c18564697b301030a7bbf928209e49ae0.tar.xz
kernel-qcow2-linux-6526128c18564697b301030a7bbf928209e49ae0.zip
drivers/net/mlx4/alloc.c needs mm.h
sparc32 allmodconfig with linux-next: drivers/net/mlx4/alloc.c: In function 'mlx4_buf_alloc': drivers/net/mlx4/alloc.c:164: error: 'PAGE_KERNEL' undeclared (first use in this function) drivers/net/mlx4/alloc.c:164: error: (Each undeclared identifier is reported only once drivers/net/mlx4/alloc.c:164: error: for each function it appears in.) this is due to some header shuffle in linux-next. I didn't look to see what it was. I'd sugges that this patch be merged ahead of a linux-next merge to avoid bisection breaks. We strictly only need asm/pgtable.h, but going direct to asm includes always seems grubby. Cc: Jeff Garzik <jeff@garzik.org> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/mlx4/alloc.c')
-rw-r--r--drivers/net/mlx4/alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/alloc.c b/drivers/net/mlx4/alloc.c
index 096bca54bcf7..b411b79d72ad 100644
--- a/drivers/net/mlx4/alloc.c
+++ b/drivers/net/mlx4/alloc.c
@@ -33,6 +33,7 @@
#include <linux/errno.h>
#include <linux/slab.h>
+#include <linux/mm.h>
#include <linux/bitmap.h>
#include <linux/dma-mapping.h>
#include <linux/vmalloc.h>