net/bnx2x: Use is_kdump_kernel() to detect kdump kernel
authorAmir Vadai <amirv@mellanox.com>
Mon, 25 Aug 2014 13:06:54 +0000 (16:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2014 22:42:19 +0000 (15:42 -0700)
commitc993189601fa89842eee96814e3ab2277fae3076
tree54025e3931195d56a4ef051df8cd2ec53077825d
parent48ea526a6877d605c961aa37fae33f3227b29424
net/bnx2x: Use is_kdump_kernel() to detect kdump kernel

Use is_kdump_kernel() to detect kdump kernel, instead of
reset_devices.

CC: Ariel Elior <ariel.elior@qlogic.com>
CC: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c