[PATCH 2/3] Create compat_sys_migrate_pages
clameter at sgi.com
Fri Oct 27 23:24:33 EST 2006
On Fri, 27 Oct 2006, Stephen Rothwell wrote:
> No they aren't because they have compat routines that convert the bitmaps
> before calling the "normal" syscall. They, importantly, only use
> compat_alloc_user_space once each.
> > Fixing get_nodes() to do the proper thing would fix all of these
> > without having to touch sys_migrate_pages or creating a compat_ function
> > (which usually is placed in kernel/compat.c)
> You need the compat_ version of the syscalls to know if you were called
> from a 32bit application in order to know if you may need to fixup the
> bitmaps that are passed from/to user mode.
The compat functions should be placed in kernel/compat.c next to
More information about the Linuxppc-dev