linux-mips
[Top] [All Lists]

Re: -mm merge plans for 2.6.21

To: Heiko Carstens <heiko.carstens@de.ibm.com>
Subject: Re: -mm merge plans for 2.6.21
From: David Woodhouse <dwmw2@infradead.org>
Date: Sat, 10 Feb 2007 10:32:07 +0000
Cc: Davide Libenzi <davidel@xmailserver.org>, ralf@linux-mips.org, linux-mips@linux-mips.org, Andrew Morton <akpm@linux-foundation.org>, Alexey Dobriyan <adobriyan@openvz.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Ulrich Drepper <drepper@redhat.com>
In-reply-to: <20070210102205.GB8145@osiris.boeblingen.de.ibm.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070208150710.1324f6b4.akpm@linux-foundation.org> <1171042535.29713.96.camel@pmac.infradead.org> <20070209134516.2367a7aa.akpm@linux-foundation.org> <1171058342.29713.136.camel@pmac.infradead.org> <Pine.LNX.4.64.0702091442230.2786@alien.or.mcafeemobile.com> <20070210102205.GB8145@osiris.boeblingen.de.ibm.com>
Sender: linux-mips-bounce@linux-mips.org
On Sat, 2007-02-10 at 11:22 +0100, Heiko Carstens wrote:
> Which remembers me that I think that MIPS is using the non-compat version
> of sys_epoll_pwait for compat syscalls. But maybe MIPS doesn't need a compat
> syscall for some reason. Dunno. 

It's OK as long as the 64-bit kernel, N32 and O32 userspace all agree
there there's 32 bits of padding between the fields of this structure:

struct epoll_event {
        __u32 events;
        __u64 data;
};

I suspect it's a fairly safe bet that N32 userspace agrees; if the O32
ABI is different then it would need the compat syscall.

-- 
dwmw2


<Prev in Thread] Current Thread [Next in Thread>