Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. --- /usr/src/ixgbevf-2.16.1/src/kcompat.h.orig 2015-02-03 18:34:22.901474028 +0000
  2. +++ /usr/src/ixgbevf-2.16.1/src/kcompat.h 2015-02-03 18:35:32.577440102 +0000
  3. @@ -3219,8 +3219,6 @@
  4. #define u64_stats_update_begin(a) do { } while(0)
  5. #define u64_stats_update_end(a) do { } while(0)
  6. #define u64_stats_fetch_begin(a) do { } while(0)
  7. -#define u64_stats_fetch_retry_bh(a) (0)
  8. -#define u64_stats_fetch_begin_bh(a) (0)
  9.  
  10. #if (RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,1))
  11. #define HAVE_8021P_SUPPORT
  12. @@ -4174,8 +4172,8 @@
  13.  
  14. /*****************************************************************************/
  15. #if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) )
  16. -#define u64_stats_fetch_begin_irq u64_stats_fetch_begin_bh
  17. -#define u64_stats_fetch_retry_irq u64_stats_fetch_retry_bh
  18. +#define u64_stats_fetch_begin_irq(a) (0)
  19. +#define u64_stats_fetch_retry_irq(a, b) (0)
  20. #else
  21. #define HAVE_PTP_1588_CLOCK_PINS
  22. #define HAVE_NETDEV_PORT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement