1
0
Fork 0

staging: lustre: lnet: remove BIT macro from lnetctl.h

Now that lnetctl.h is a UAPI header the BIT macro has to be
removed.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
James Simmons 2017-08-19 22:26:33 -04:00 committed by Greg Kroah-Hartman
parent 150414213e
commit fa6f479cf7
1 changed files with 4 additions and 4 deletions

View File

@ -32,10 +32,10 @@ enum {
LNET_CTL_DELAY_LIST,
};
#define LNET_ACK_BIT BIT(0)
#define LNET_PUT_BIT BIT(1)
#define LNET_GET_BIT BIT(2)
#define LNET_REPLY_BIT BIT(3)
#define LNET_ACK_BIT (1 << 0)
#define LNET_PUT_BIT (1 << 1)
#define LNET_GET_BIT (1 << 2)
#define LNET_REPLY_BIT (1 << 3)
/** ioctl parameter for LNet fault simulation */
struct lnet_fault_attr {