PATCH ppc Merge asm-ppc*/posix_types.h

Paul Mackerras paulus at samba.org
Sat Sep 10 23:30:35 EST 2005


Stephen Rothwell writes:

> On 32 bit, int == long, so the last three could be removed from the ifdef
> by making them {unsigned }long ...

Yeah, I tried changing those to unsigned long once, long ago, and ran
into problems because this header gets used in userspace, and gcc
seems to have a fixed idea that size_t is unsigned int on ppc32.
I think we should leave it as unsigned int.

Paul.



More information about the Linuxppc-dev mailing list