Added functionality to support SLES12 SP3
[compat-rdma/compat.git] / include / linux / kernel.h
1 #ifndef COMPAT_KERNEL_H
2 #define COMPAT_KERNEL_H
3
4 #include "../../compat/config.h"
5
6 #include_next <linux/kernel.h>
7
8
9 #ifndef u64_to_user_ptr
10 #define u64_to_user_ptr(x) (            \
11 {                                       \
12         typecheck(u64, x);              \
13         (void __user *)(uintptr_t)x;    \
14 }                                       \
15 )
16 #endif
17
18 #endif /* COMPAT_KERNEL_H */