]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4_core: Fix build break (missing include)
authorOlof Johansson <olof@lixom.net>
Mon, 11 Feb 2008 02:22:57 +0000 (20:22 -0600)
committerRoland Dreier <rolandd@cisco.com>
Mon, 11 Feb 2008 22:19:42 +0000 (14:19 -0800)
commit7ca896833ca8ef742607e2c6956d4e936ab06cba
tree0b416b62870d244261f3bb274ccc328ab30f79da
parent25ecfaa7fecd667b69173e08f6b4a446acc520f8
mlx4_core: Fix build break (missing include)

Commit c7342032 ("mlx4_core: For 64-bit systems, vmap() kernel queue
buffers") caused this to pop up on powerpc allyesconfig, looks like a
missing include file:

    drivers/net/mlx4/alloc.c: In function 'mlx4_buf_alloc':
    drivers/net/mlx4/alloc.c:162: error: implicit declaration of function 'vmap'
    drivers/net/mlx4/alloc.c:162: error: 'VM_MAP' undeclared (first use in this function)
    drivers/net/mlx4/alloc.c:162: error: (Each undeclared identifier is reported only once
    drivers/net/mlx4/alloc.c:162: error: for each function it appears in.)
    drivers/net/mlx4/alloc.c:162: warning: assignment makes pointer from integer without a cast
    drivers/net/mlx4/alloc.c: In function 'mlx4_buf_free':
    drivers/net/mlx4/alloc.c:187: error: implicit declaration of function 'vunmap'

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/alloc.c