lkml.org 
[lkml]   [2003]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][COMPAT] compat_sys_futex 2/3 ia64
Hi David,

ia 64 part of the patch. This gives you a 32 bit version of sys_futex
(hopefully).

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.5.61-32bit.1/arch/ia64/ia32/ia32_entry.S 2.5.61-32bit.2/arch/ia64/ia32/ia32_entry.S
--- 2.5.61-32bit.1/arch/ia64/ia32/ia32_entry.S 2003-02-11 09:39:10.000000000 +1100
+++ 2.5.61-32bit.2/arch/ia64/ia32/ia32_entry.S 2003-02-15 23:39:48.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.61-32bit.1/arch/ia64/kernel/ivt.S 2.5.61-32bit.2/arch/ia64/kernel/ivt.S
--- 2.5.61-32bit.1/arch/ia64/kernel/ivt.S 2003-02-11 09:39:11.000000000 +1100
+++ 2.5.61-32bit.2/arch/ia64/kernel/ivt.S 2003-02-15 23:39:48.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/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.082 / U:1.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site