Regarding select() on PPC

Sadashiiv, Halesh halesh.sadashiv at
Tue Sep 23 15:01:05 EST 2008

>-----Original Message-----
>From: Benjamin Herrenschmidt [mailto:benh at]
>Sent: Tuesday, September 23, 2008 10:26 AM
>To: Sadashiiv, Halesh
>Cc: Josh Boyer; linuxppc-embedded at
>Subject: RE: Regarding select() on PPC
>On Tue, 2008-09-23 at 10:20 +0530, Sadashiiv, Halesh wrote:
>> Hi,
>> The below testcase requires to exit with setting errno as EINVAL, as
>> the man page.
>> I tested this on ARM, I686, PPC64 it was fine, for the same on PPC32
>> used exit with errno set as EFAULT.
>> On further investigation found there was some long obsolete code in
>> arch/powerpc/kernel/syscalls.c (function ppc_select()), which was
>> written in 2.2.0 kernel for PPC32 specific , which resulted in
>> This needs to be verified, I have proposed patch for PPC32, Please
>> the link
>I'm trying to sort out how obsolete it actually is and see if we can
>remove the whole thing.

Ok...once you verified please let me know.

>Your patch should be submitted to the linuxppc-dev mailing list btw.

Will do that.



This email is confidential and intended only for the use of the individual or entity named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message. - This mail is sent via Sony Asia Pacific Mail Gateway.

More information about the Linuxppc-embedded mailing list