batman-adv: Remove usage of BIT(x) in packet.h
authorSven Eckelmann <sven.eckelmann@openmesh.com>
Thu, 21 Dec 2017 09:17:39 +0000 (10:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Dec 2017 20:35:53 +0000 (15:35 -0500)
commita6cb82b5c21d046a4383010045dc0489bec42884
tree7d2a083e81a8d1a310d1bc4475a4dc230b7baf3b
parent4e58452b6fc391c35611693b12a3f97bd60f6da8
batman-adv: Remove usage of BIT(x) in packet.h

The BIT(x) macro is no longer available for uapi headers because it is
defined outside of it (linux/bitops.h). The use of it must therefore be
avoided and replaced by an appropriate other representation.

Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/batman-adv/packet.h