summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVedang Patel <vedang.patel@intel.com>2019-06-26 01:07:13 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-29 00:45:33 +0300
commit9903c8dc734265689d5770ff28c84a7228fe5890 (patch)
treeac68540e2a537940a84a601d6f9413784559e2d7 /include
parent1e08511d5d01884a3c9070afd52a47799312074a (diff)
downloadlinux-9903c8dc734265689d5770ff28c84a7228fe5890.tar.xz
etf: Don't use BIT() in UAPI headers.
The BIT() macro isn't exported as part of the UAPI interface. So, the compile-test to ensure they are self contained fails. So, use _BITUL() instead. Signed-off-by: Vedang Patel <vedang.patel@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/pkt_sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h
index 8b2f993cbb77..f88c4e0bd9e5 100644
--- a/include/uapi/linux/pkt_sched.h
+++ b/include/uapi/linux/pkt_sched.h
@@ -988,8 +988,8 @@ struct tc_etf_qopt {
__s32 delta;
__s32 clockid;
__u32 flags;
-#define TC_ETF_DEADLINE_MODE_ON BIT(0)
-#define TC_ETF_OFFLOAD_ON BIT(1)
+#define TC_ETF_DEADLINE_MODE_ON _BITUL(0)
+#define TC_ETF_OFFLOAD_ON _BITUL(1)
};
enum {