compat: Added support for ib_core from kernel 4.8 on RHEL7.2
[~tnikolova/compat/.git] / include / linux / mm.h
1 #ifndef _COMPAT_LINUX_MM_H
2 #define _COMPAT_LINUX_MM_H 1
3
4 #include "../../compat/config.h"
5 #include_next <linux/mm.h>
6
7 #ifdef HAVE_GET_USER_PAGES_6_PARAMS
8 #define get_user_pages(p1, p2, p3, p4, p5, p6, p7, p8) \
9         get_user_pages(p3, p4, p5, p6, p7, p8)
10 #endif
11
12 #ifndef HAVE_GET_USER_PAGES_REMOTE
13 #define get_user_pages_remote get_user_pages
14 #endif
15
16 #endif  /* _COMPAT_LINUX_MM_H */