kni: fix spacing in compat header
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
e2dc61c806
commit
4b33c132bc
@ -14,19 +14,17 @@
|
||||
|
||||
#endif /* < 2.6.39 */
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35)
|
||||
#define sk_sleep(s) (s)->sk_sleep
|
||||
#endif
|
||||
|
||||
#endif /* < 2.6.35 */
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)
|
||||
#define HAVE_IOV_ITER_MSGHDR
|
||||
#endif
|
||||
|
||||
#if ( LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0) )
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)
|
||||
#define HAVE_KIOCB_MSG_PARAM
|
||||
#endif /* < 4.1.0 */
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
|
||||
#define HAVE_TRANS_START_HELPER
|
||||
|
Loading…
Reference in New Issue
Block a user