summarylogtreecommitdiffstats
path: root/kernel4.10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kernel4.10.patch')
-rw-r--r--kernel4.10.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel4.10.patch b/kernel4.10.patch
new file mode 100644
index 000000000000..7a3e7b08310a
--- /dev/null
+++ b/kernel4.10.patch
@@ -0,0 +1,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;