Revert r335094 and properly fix OFED build after r335053.
MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
63e12418fd
commit
3ea947d615
@ -130,8 +130,7 @@ struct ib_umad_packet {
|
||||
|
||||
static struct class *umad_class;
|
||||
|
||||
#define IBMKDEV(x, y) (((dev_t)(x) << 32) | (unsigned)(y))
|
||||
static const dev_t base_dev = IBMKDEV(IB_UMAD_MAJOR, IB_UMAD_MINOR_BASE);
|
||||
#define base_dev MKDEV(IB_UMAD_MAJOR, IB_UMAD_MINOR_BASE)
|
||||
|
||||
static DEFINE_SPINLOCK(port_lock);
|
||||
static DECLARE_BITMAP(dev_map, IB_UMAD_MAX_PORTS);
|
||||
|
Loading…
x
Reference in New Issue
Block a user