All of lore.kernel.org
 help / color / mirror / Atom feed
* fix ENOSYS from io_getevents()/NR_SYSCALLS
@ 2004-03-18 14:22 William Lee Irwin III
  2004-03-18 23:10 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: William Lee Irwin III @ 2004-03-18 14:22 UTC (permalink / raw)
  To: sparclinux

NR_SYSCALLS appears to be off by one, and so aio tests/etc. are failing
with -ENOSYS. __NR_io_getevents is 272, so the bgeu,pn NR_SYSCALLS etc.
checks mistakenly punt io_getevents() off to linux_sparc_ni_syscall().
The following patch gets the aio tests running.


-- wli


--- mm1-2.6.4-3/arch/sparc64/kernel/entry.S	2004-03-10 18:55:20.000000000 -0800
+++ mm1-2.6.4-4/arch/sparc64/kernel/entry.S	2004-03-11 22:00:49.608397000 -0800
@@ -26,7 +26,7 @@
 
 #define curptr      g6
 
-#define NR_SYSCALLS 272      /* Each OS is different... */
+#define NR_SYSCALLS 273      /* Each OS is different... */
 
 	.text
 	.align		32


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-18 23:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-18 14:22 fix ENOSYS from io_getevents()/NR_SYSCALLS William Lee Irwin III
2004-03-18 23:10 ` David S. Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.