[uClinux-dev] [PATCH] : Avoid filename < TASK_SIZE test in do_getname() when no MMU

David Howells dhowells at redhat.com
Fri May 21 06:21:34 EDT 2010


Geert Uytterhoeven <geert at linux-m68k.org> wrote:

> Are these also problematic?

None of these are problematic for NOMMU FRV because there I set:

	#define TASK_SIZE			__UL(0xFFFFFFFFUL)

I would set it lower, but the flash is right at the top end of the address
space, and if I want to do XIP from it, this is required.  It's a fairly
meaningless constant in NOMMU anyway, so it's probably better just to set it
to this.  Actually, I should probably use ULONG_MAX instead.

David



More information about the uClinux-dev mailing list