Hi David,
Here is the ia64 part of the patch. I needed to expand the ia32 syscall
table as the syscall number for sys_futex on ia32 is 240. I hope I guessed
correctly :-)
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/diff -ruN 2.5.60-32bit.1/arch/ia64/ia32/ia32_entry.S 2.5.60-32bit.2/arch/ia64/ia32/ia32_entry.S --- 2.5.60-32bit.1/arch/ia64/ia32/ia32_entry.S 2003-02-11 09:39:10.000000000 +1100 +++ 2.5.60-32bit.2/arch/ia64/ia32/ia32_entry.S 2003-02-11 12:21:56.000000000 +1100 @@ -428,6 +428,26 @@ data8 sys_ni_syscall data8 sys_ni_syscall data8 sys_ni_syscall + data8 sys_ni_syscall /* 230 */ + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 sys_ni_syscall /* 235 */ + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 compat_sys_futex /* 240 */ + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 sys_ni_syscall /* 245 */ + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 sys_ni_syscall + data8 sys_ni_syscall /* * CAUTION: If any system calls are added beyond this point * then the check in `arch/ia64/kernel/ivt.S' will have diff -ruN 2.5.60-32bit.1/arch/ia64/kernel/ivt.S 2.5.60-32bit.2/arch/ia64/kernel/ivt.S --- 2.5.60-32bit.1/arch/ia64/kernel/ivt.S 2003-02-11 09:39:11.000000000 +1100 +++ 2.5.60-32bit.2/arch/ia64/kernel/ivt.S 2003-02-11 12:21:56.000000000 +1100 @@ -848,7 +848,7 @@ alloc r15=ar.pfs,0,0,6,0 // must first in an insn group ;; ld4 r8=[r14],8 // r8 == eax (syscall number) - mov r15=230 // number of entries in ia32 system call table + mov r15=250 // number of entries in ia32 system call table ;; cmp.ltu.unc p6,p7=r8,r15 ld4 out1=[r14],8 // r9 == ecx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:37 EST