Created
August 16, 2013 11:38
-
-
Save hiroyuki-sato/6249158 to your computer and use it in GitHub Desktop.
patch for OFED-3.5-2-20130805-0844 build on RHEL6.4(2.6.32-358.14.1.el6.x86_64)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- compat-rdma-3.5/compat/compat-3.3.c.org 2013-08-16 19:20:02.447724492 +0900 | |
+++ compat-rdma-3.5/compat/compat-3.3.c 2013-08-16 19:19:47.834773493 +0900 | |
@@ -101,6 +101,7 @@ | |
} | |
+#ifndef CONFIG_COMPAT_RHEL_6_4 | |
/** | |
* __pskb_copy - create copy of an sk_buff with private head. | |
* @skb: buffer to copy | |
@@ -171,3 +172,4 @@ | |
return n; | |
} | |
EXPORT_SYMBOL_GPL(__pskb_copy); | |
+#endif | |
--- compat-rdma-3.5/include/linux/compat-3.3.h.org 2013-08-16 19:10:40.905367206 +0900 | |
+++ compat-rdma-3.5/include/linux/compat-3.3.h 2013-08-16 19:23:17.159129795 +0900 | |
@@ -26,8 +26,10 @@ | |
#endif | |
#endif | |
+#ifndef CONFIG_COMPAT_RHEL_6_4 | |
extern struct sk_buff *__pskb_copy(struct sk_buff *skb, | |
int headroom, gfp_t gfp_mask); | |
+#endif | |
#ifndef CONFIG_COMPAT_RHEL_6_4 | |
static inline void skb_complete_wifi_ack(struct sk_buff *skb, bool acked) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment