drivers: fix constant suffix for 32-bit platforms
authorMichael Qiu <michael.qiu@intel.com>
Fri, 27 Nov 2015 03:36:05 +0000 (11:36 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 27 Nov 2015 20:41:58 +0000 (21:41 +0100)
commit6329b567761f2845bd708ccfbc0f00f2e776d525
tree54d38f2d5ecfb99eb66a4449e621dfeeb8307a13
parentb316bcde95173ae3568b04048d06dddd6ff9442d
drivers: fix constant suffix for 32-bit platforms

There is a compilation issue with some compilers.
In i686 platform, long is 32bit, so XXX_CYCLECOUNTER_MASK
need define as 'ULL'

Fixes: 9c857bf6be87 ("igb: support ieee1588 functions for device time")
Fixes: 1c4445e1f28e ("ixgbe: support ieee1588 functions for device time")
Fixes: f3a4e40eca0c ("i40e: support ieee1588 functions for device time")

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
drivers/net/e1000/igb_ethdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.c