[PATCH 2/3] Create compat_sys_migrate_pages
Arnd Bergmann
arnd at arndb.de
Fri Oct 27 09:03:53 EST 2006
On Thursday 26 October 2006 05:33, Stephen Rothwell wrote:
> +asmlinkage long compat_sys_migrate_pages(compat_pid_t pid,
> + compat_ulong_t maxnode,
> + const compat_ulong_t __user *old_nodes,
> + const compat_ulong_t __user *new_nodes)
> +{
> + nodemask_t old;
> + nodemask_t new;
> + int err;
> +
> + err = get_nodes(&old, old_nodes, maxnode);
> + if (err)
> + return err;
> +
> + err = get_nodes(&new, new_nodes, maxnode);
I guess you want to call compat_get_nodes, not get_nodes here,
right?
Arnd <><
More information about the Linuxppc-dev
mailing list