vserver 1.9.5.x5
[linux-2.6.git] / arch / sparc64 / kernel / entry.S
index 1462b24..c4b705d 100644 (file)
@@ -26,7 +26,7 @@
 
 #define curptr      g6
 
-#define NR_SYSCALLS 283      /* Each OS is different... */
+#define NR_SYSCALLS 284      /* Each OS is different... */
 
        .text
        .align          32
@@ -1778,7 +1778,7 @@ ret_sys_call:
         stx            %l0, [%curptr + TI_FLAGS]
 
 1:
-       cmp             %o0, -ENOIOCTLCMD
+       cmp             %o0, -ERESTART_RESTARTBLOCK
        bgeu,pn         %xcc, 1f
         andcc          %l0, _TIF_SYSCALL_TRACE, %l6    
 80: