Re: MMUless CPU support?

From: Hyok S. Choi
Date: Fri May 14 2004 - 04:39:01 EST


Russell King - ARM Linux wrote:

On Thu, May 13, 2004 at 06:17:09PM +0200, Vadim Lebedev wrote:


Hyok,

about fork and mmap syscalls on uClinux:

actually i believe it would be better to leave calls.S untouched and return
EINVAL or similar in the C level code...
BTW, if i remember correctly (it was in 97 when i've ported uClinux 2.0.xx
from 68000 to ARM7) mmap call was partially functionnal on ucLinux
(depending
on arguments) so
there is no need to scrap it from calls.S too....

the less we touch .S file the eathier it'll be to maintain the NO-MMU
version



And you can use assembler/linker magic to alias sys_fork to
sys_ni_syscall.

Since Hyok seems to be 100% against any kind of merge, it's useless
even talking about this though.


Hmm, I think about the clean and well structured kind of merge. His comment was useful for me. :-)

I always think almost all of tricky method to cross among codes is NO good, for maintainer, code readers, porting guys and all.
I like Vadim's method.

Regards,
Hyok
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/