]> err.no Git - linux-2.6/blobdiff - include/asm-s390/unistd.h
Fix up headers_install wrt devfs removal
[linux-2.6] / include / asm-s390 / unistd.h
index e21443d3ea1df4532562d613571f611c1b464a63..aa7a243862e1b714afbc0803de501b1ab2b13e69 100644 (file)
 
 #ifdef __KERNEL__
 
-/* user-visible error numbers are in the range -1 - -122: see <asm-s390/errno.h> */
-
 #define __syscall_return(type, res)                         \
 do {                                                        \
-       if ((unsigned long)(res) >= (unsigned long)(-125)) { \
+       if ((unsigned long)(res) >= (unsigned long)(-4095)) {\
                errno = -(res);                              \
                res = -1;                                    \
        }                                                    \