Messages in this thread | | | Date | Fri, 17 Feb 2006 17:01:29 +1100 | From | Stephen Rothwell <> | Subject | Re: [PATCH] Generic is_compat_task helper |
| |
On Thu, 16 Feb 2006 21:49:39 -0800 Andrew Morton <akpm@osdl.org> wrote: > > What continues to bug me about this (in a high-level hand-wavy sort of way) > is that this is an attribute of the mm_struct, not of the task_struct.
Aren't there really two things here: in the syscall path you want to know that the kernel was entered through a 32 bit (compat) syscall entry point so you know what its arguments are and how to set up its return values
in some places you need to know if the mm is a 32 bit mm
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |