The attached patch defines a new file (.../include/asm-i386/sys_calls.h) which defines all the system call names and numbers. The number is defined via "enum". The normal call has a well defined entry point to name relationship, but not all do, so a way to do the "non-confroming" calls is included. To add a new call all one needs to do is to add a line at the end of the list in this header file, for example: SYS_CALL(clock_nanosleep) \ This will put "sys_clock_nanosleep" in the call table in entry.S and define the "__NR_clock_nanosleep" for unistd. The last entry of the enum is NR_syscalls, thus defineing and keeping this symbol current. Of course we will be adding no more system calls, but it does make things a _lot_ easier. The binary from entry.S was compared to the prior binary and found to be the same. A small set of the library stubs was produced and also compared. And a system was built and tested. All worked fine. -- George Anzinger george@mvista.com High-res-timers: http://sourceforge.net/projects/high-res-timers/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml