public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Unwire set/get_robust_list
@ 2006-09-04 19:56 Andreas Schwab
  0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2006-09-04 19:56 UTC (permalink / raw)
  To: linux-ia64

The syscalls set/get_robust_list must not be wired up until
futex_atomic_cmpxchg_inatomic is implemented.  Otherwise the kernel will
hang in handle_futex_death.

Signed-off-by: Andreas Schwab <schwab@suse.de>

Index: linux-2.6.18-rc6/arch/ia64/kernel/entry.S
=================================--- linux-2.6.18-rc6.orig/arch/ia64/kernel/entry.S	2006-09-04 20:58:32.000000000 +0200
+++ linux-2.6.18-rc6/arch/ia64/kernel/entry.S	2006-09-04 21:02:16.000000000 +0200
@@ -1605,8 +1605,8 @@ sys_call_table:
 	data8 sys_ni_syscall			// 1295 reserved for ppoll
 	data8 sys_unshare
 	data8 sys_splice
-	data8 sys_set_robust_list
-	data8 sys_get_robust_list
+	data8 sys_ni_syscall			// reserved for set_robust_list
+	data8 sys_ni_syscall			// reserved for get_robust_list
 	data8 sys_sync_file_range		// 1300
 	data8 sys_tee
 	data8 sys_vmsplice
Index: linux-2.6.18-rc6/include/asm-ia64/systbl.h
=================================--- linux-2.6.18-rc6.orig/include/asm-ia64/unistd.h	2006-09-04 20:59:21.000000000 +0200
+++ linux-2.6.18-rc6/include/asm-ia64/unistd.h	2006-09-04 21:01:02.000000000 +0200
@@ -286,8 +286,7 @@
 /* 1294, 1295 reserved for pselect/ppoll */
 #define __NR_unshare			1296
 #define __NR_splice			1297
-#define __NR_set_robust_list		1298
-#define __NR_get_robust_list		1299
+/* 1298, 1299 reserved for set_robust_list/get_robust_list */
 #define __NR_sync_file_range		1300
 #define __NR_tee			1301
 #define __NR_vmsplice			1302

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-04 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-04 19:56 [PATCH] Unwire set/get_robust_list Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox