[PATCH][COMPAT] compat_sys_futex 3/7 parisc

Stephen Rothwell (sfr@canb.auug.org.au)
Wed, 12 Feb 2003 15:55:17 +1100


Hi Linus,

Here is the parisc part of the patch since Willy asked me to send them
directly to you.

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

diff -ruN 2.5.60-32bit.1/arch/parisc/kernel/syscall.S 2.5.60-32bit.2/arch/parisc/kernel/syscall.S --- 2.5.60-32bit.1/arch/parisc/kernel/syscall.S 2003-02-11 09:39:14.000000000 +1100 +++ 2.5.60-32bit.2/arch/parisc/kernel/syscall.S 2003-02-11 12:21:56.000000000 +1100 @@ -320,7 +320,8 @@ #ifdef __LP64__ /* Use ENTRY_SAME for 32-bit syscalls which are the same on wide and * narrow palinux. Use ENTRY_DIFF for those where a 32-bit specific - * implementation is required on wide palinux. + * implementation is required on wide palinux. Use ENTRY_COMP where + * the compatability layer has a useful 32-bit implementation. */ #define ENTRY_SAME(_name_) .dword sys_##_name_ #define ENTRY_DIFF(_name_) .dword sys32_##_name_ @@ -597,7 +598,7 @@ ENTRY_SAME(ni_syscall) /* tkill */ ENTRY_SAME(sendfile64) - ENTRY_SAME(futex) /* 210 */ + ENTRY_COMP(futex) /* 210 */ ENTRY_SAME(sched_setaffinity) ENTRY_SAME(sched_getaffinity) ENTRY_SAME(set_thread_area) - 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/