mirror of https://gitee.com/openkylin/linux.git
ixgbe: convert to CYCLECOUNTER_MASK macro.
Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b57c894040
commit
d312da293f
|
@ -793,7 +793,7 @@ void ixgbe_ptp_start_cyclecounter(struct ixgbe_adapter *adapter)
|
|||
|
||||
memset(&adapter->cc, 0, sizeof(adapter->cc));
|
||||
adapter->cc.read = ixgbe_ptp_read;
|
||||
adapter->cc.mask = CLOCKSOURCE_MASK(64);
|
||||
adapter->cc.mask = CYCLECOUNTER_MASK(64);
|
||||
adapter->cc.shift = shift;
|
||||
adapter->cc.mult = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue