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

* Re: fix ENOSYS from io_getevents()/NR_SYSCALLS
  2004-03-18 14:22 fix ENOSYS from io_getevents()/NR_SYSCALLS William Lee Irwin III
@ 2004-03-18 23:10 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-03-18 23:10 UTC (permalink / raw)
  To: sparclinux

On Thu, 18 Mar 2004 06:22:25 -0800
William Lee Irwin III <wli@holomorphy.com> wrote:

> 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.

sparc32 needed the same fix too, thanks Will.

^ 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.