summarylogtreecommitdiffstats
path: root/kernel4.10.patch
blob: 7a3e7b08310a98af6ae8ba8983f91eaa3d8ec53f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Naur igb-5.3.5.4-orig/src/igb_ptp.c igb-5.3.5.4/src/igb_ptp.c
--- igb-5.3.5.4-orig/src/igb_ptp.c      2016-08-26 06:01:30.000000000 +0800
+++ igb-5.3.5.4/src/igb_ptp.c   2017-03-11 14:14:18.206673333 +0800
@@ -93,7 +93,7 @@
  * SYSTIM read access for the 82576
  */
 
-static cycle_t igb_ptp_read_82576(const struct cyclecounter *cc)
+static u64 igb_ptp_read_82576(const struct cyclecounter *cc)
 {
        struct igb_adapter *igb = container_of(cc, struct igb_adapter, cc);
        struct e1000_hw *hw = &igb->hw;
@@ -113,7 +113,7 @@
  * SYSTIM read access for the 82580
  */
 
-static cycle_t igb_ptp_read_82580(const struct cyclecounter *cc)
+static u64 igb_ptp_read_82580(const struct cyclecounter *cc)
 {
        struct igb_adapter *igb = container_of(cc, struct igb_adapter, cc);
        struct e1000_hw *hw = &igb->hw;