summaryrefslogtreecommitdiffstats
path: root/mm/kmemcheck.c
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2012-02-19 21:38:52 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-20 19:26:34 -0500
commit3d7474734b220ccbf9997ea484d0bcd4f7ab8549 (patch)
treeff046bf821c203c6ef99359010bb795473716d82 /mm/kmemcheck.c
parent834fa12ca1fc684d947472949029fade70039184 (diff)
downloadop-kernel-dev-3d7474734b220ccbf9997ea484d0bcd4f7ab8549.zip
op-kernel-dev-3d7474734b220ccbf9997ea484d0bcd4f7ab8549.tar.gz
mlx4_core: Do not map BF area if capability is 0
BF can be disabled in some cases, the capability field, bf_reg_size is set to zero in this case. Don't map the BF area in this case, it would cause failures. In addition, leaving the BF area unmapped also alerts the ETH driver to not use BF. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/kmemcheck.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud