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.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux