]> git.pld-linux.org Git - packages/igb.git/blob - clocksource.patch
- fix missing CLOCKSOURCE_MASK definition
[packages/igb.git] / clocksource.patch
1 --- igb-5.3.4.4/src/igb.h~      2016-02-26 01:48:39.000000000 +0100
2 +++ igb-5.3.4.4/src/igb.h       2016-04-25 09:05:40.372457551 +0200
3 @@ -72,9 +72,8 @@
4  #ifdef HAVE_PTP_1588_CLOCK
5  #ifdef HAVE_INCLUDE_LINUX_TIMECOUNTER_H
6  #include <linux/timecounter.h>
7 -#else
8 -#include <linux/clocksource.h>
9  #endif /* HAVE_INCLUDE_TIMECOUNTER_H */
10 +#include <linux/clocksource.h>
11  #include <linux/net_tstamp.h>
12  #include <linux/ptp_clock_kernel.h>
13  #endif /* HAVE_PTP_1588_CLOCK */
14 --- igb-5.3.4.4/src/kcompat.h~  2016-02-26 01:48:39.000000000 +0100
15 +++ igb-5.3.4.4/src/kcompat.h   2016-04-25 09:05:53.839075764 +0200
16 @@ -4720,9 +4720,8 @@
17  #ifndef NO_PTP_SUPPORT
18  #ifdef HAVE_INCLUDE_LINUX_TIMECOUNTER_H
19  #include <linux/timecounter.h>
20 -#else
21 -#include <linux/clocksource.h>
22  #endif
23 +#include <linux/clocksource.h>
24  static inline void __kc_timecounter_adjtime(struct timecounter *tc, s64 delta)
25  {
26         tc->nsec += delta;
This page took 0.023534 seconds and 3 git commands to generate.