[ewg] [PATCH] remove get_user_pages() 8 arg compat macro

Steve Wise swise at opengridcomputing.com
Fri Oct 7 07:28:03 PDT 2016


Hey Vlad, 

You can also pull this from the for-vlad branch of git://git.openfabrics.org/~swise/compat.

Steve.

> -----Original Message-----
> From: ewg [mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of Steve Wise
> Sent: Thursday, October 06, 2016 3:01 PM
> To: vlad at dev.mellanox.co.il
> Cc: ewg at lists.openfabrics.org
> Subject: [ewg] [PATCH] remove get_user_pages() 8 arg compat macro
> 
> Signed-off-by: Steve Wise <swise at opengridcomputing.com>
> ---
>  include/linux/mm.h | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/include/linux/mm.h b/include/linux/mm.h
> index 9aae7bb..8009ed8 100644
> --- a/include/linux/mm.h
> +++ b/include/linux/mm.h
> @@ -4,11 +4,6 @@
>  #include "../../compat/config.h"
>  #include_next <linux/mm.h>
> 
> -#ifdef HAVE_GET_USER_PAGES_6_PARAMS
> -#define get_user_pages(p1, p2, p3, p4, p5, p6, p7, p8) \
> -	get_user_pages(p3, p4, p5, p6, p7, p8)
> -#endif
> -
>  #ifndef HAVE_GET_USER_PAGES_REMOTE
>  #define get_user_pages_remote get_user_pages
>  #endif
> --
> 2.7.0
> 
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/mailman/listinfo/ewg




More information about the ewg mailing list