Philippe De Muyter <p...@macqel.be> wrote:

> > +#else
> > +#define TASK_SIZE  (0xFFFFFFFFUL)
> > +#endif
> 
> Because of do_getname() :
> 
>       len = TASK_SIZE - (unsigned long) filename;
> 
> we should rather have
> 
>       #define TASK_SIZE (0x100000000ull)

Do you guarantee that will work everywhere on a 32-bit system, though?

Note that it also makes things slower as gcc has to start using 64-bit
arithmetic where it could otherwise use 32-bit arithmetic.

David
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to