]> git.proxmox.com Git - mirror_iproute2.git/commit
utils: Move BIT macro to common header
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 20 Aug 2017 09:58:21 +0000 (12:58 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 22 Aug 2017 00:07:44 +0000 (17:07 -0700)
commitafdc119410efe2a5e826c660446b1e4e1a72793d
tree652701f56a064eb375ef62b92ee5356aace6a50c
parentbe55416addf76e76836af6a4dd94b19c4186e1b2
utils: Move BIT macro to common header

BIT() macro was implemented and used by devlink for now, but following
patches of rdmatool will reuse the same macro, so put it in common
header file.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
devlink/devlink.c
include/utils.h