]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pmd_enic/enic_compat.h
enic: fix bsd namespace conflict
[dpdk.git] / lib / librte_pmd_enic / enic_compat.h
index 67c092d212fdfc20eb05b34ec64236b7c8908420..0670c1e34c151ae6573c6c392dd636345307918f 100644 (file)
@@ -68,7 +68,7 @@
 #define pr_warn(y, args...) dev_warning(0, y, ##args)
 #define BUG() pr_err("BUG at %s:%d", __func__, __LINE__)
 
-#define ALIGN(x, a)              __ALIGN_MASK(x, (typeof(x))(a)-1)
+#define VNIC_ALIGN(x, a)         __ALIGN_MASK(x, (typeof(x))(a)-1)
 #define __ALIGN_MASK(x, mask)    (((x)+(mask))&~(mask))
 #define udelay usleep
 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))