Messages in this thread |  | | | From | Arnd Bergmann <> | | Subject | Re: [PATCH 1/1] x86: syscalls: sys_setrlimit64/sys_getrlimit64 calls to provide FSIZE limits > 2^32-1 | | Date | Fri, 30 Jan 2009 19:04:51 +0100 |
| |
On Friday 30 January 2009, Narendra Prasad Madanapalli wrote: > Can you provide me more information on how to port these system calls > to 32-on-64 kernel.
Your interface has compatible calling conventions between 32 and 64 bit user programs, so for x86, all you need to do is to add them to arch/x86/ia32/ia32entry.S in the same way as you did for arch/x86/kernel/syscall_table_32.S. For the other architectures, the respective maintainers will take care of this if your patch gets accepted. Unfortunately, each architecture has a different way of adding the compat system calls.
Arnd <><
|  |