]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/mlx4/alloc.c needs mm.h
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 5 Sep 2008 21:04:07 +0000 (14:04 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 24 Sep 2008 22:48:57 +0000 (18:48 -0400)
commit316a3c550c2d39f55704869febfe86a8b529e4d0
tree32cc9e5c50697bc25d1e0a6b7880055c54638211
parent6dacc83890ee888ee340b225a280c6d0d745eb9d
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>
drivers/net/mlx4/alloc.c