Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Wire up finit_module syscall

Linux was granted a new system call to load modules by file descriptor
in commit 34e1169d996a ("module: add syscall to load module from fd").

Wire it up for ia64 (ready for the Chrome port :-)

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Luck, Tony and committed by
Linus Torvalds
062fe95a d1c3ed66

+3 -1
+1 -1
arch/ia64/include/asm/unistd.h
··· 11 11 12 12 13 13 14 - #define NR_syscalls 311 /* length of syscall table */ 14 + #define NR_syscalls 312 /* length of syscall table */ 15 15 16 16 /* 17 17 * The following defines stop scripts/checksyscalls.sh from complaining about
+1
arch/ia64/include/uapi/asm/unistd.h
··· 324 324 #define __NR_process_vm_readv 1332 325 325 #define __NR_process_vm_writev 1333 326 326 #define __NR_accept4 1334 327 + #define __NR_finit_module 1335 327 328 328 329 #endif /* _UAPI_ASM_IA64_UNISTD_H */
+1
arch/ia64/kernel/entry.S
··· 1785 1785 data8 sys_process_vm_readv 1786 1786 data8 sys_process_vm_writev 1787 1787 data8 sys_accept4 1788 + data8 sys_finit_module // 1335 1788 1789 1789 1790 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls 1790 1791 #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */