Re: [PATCH v2 2/4] mm: simplify compat_sys_move_pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  #ifdef CONFIG_COMPAT
>  COMPAT_SYSCALL_DEFINE6(move_pages, pid_t, pid, compat_ulong_t, nr_pages,
> +		       compat_uptr_t __user *, pages,
>  		       const int __user *, nodes,
>  		       int __user *, status,
>  		       int, flags)
>  {
> +	return kernel_move_pages(pid, nr_pages,
> +				 (const void __user *__user *)pages,
> +				 nodes, status, flags);
>  }

Same as for kexec - all the compat syscall tables can just point to
the native version now.

_______________________________________________
kexec mailing list
kexec@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/kexec



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux