Displaying 6 results from an estimated 6 matches for "4095ul".
2006 May 08
0
[patch] s390 syscall.c declare err
...b/usr/klibc/arch/s390/syscall.c
index 60fab13..e1d201d 100644
--- a/usr/klibc/arch/s390/syscall.c
+++ b/usr/klibc/arch/s390/syscall.c
@@ -7,7 +7,7 @@
*/
#include <errno.h>
-unsigned long __syscall_common(unsigned long)
+unsigned long __syscall_common(unsigned long err)
{
if (err < -4095UL)
return err;
2005 Nov 25
0
Fix syscalls with more than four arguments on parisc
...x100(%%sr2, %%r0)\n"
- : "=r" (rv)
- : "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (a4), "r" (a5)
- : "%r1", "%r2", "%r29", "%r31");
-
- if ( __unlikely(rv >= -4095UL) ) {
- errno = -rv;
- return -1L;
- } else {
- return (long)rv;
- }
-}
-
-
2006 Jun 26
0
[klibc 33/43] s390 support for klibc
...ll.c
@@ -0,0 +1,16 @@
+/*
+ * arch/s390/syscall.c
+ *
+ * Common error-handling path for system calls.
+ * The return value from __syscall_common becomes the
+ * return value from the system call.
+ */
+#include <errno.h>
+
+unsigned long __syscall_common(unsigned long err)
+{
+ if (err < -4095UL)
+ return err;
+ errno = -err;
+ return -1;
+}
diff --git a/usr/klibc/arch/s390/sysstub.ph b/usr/klibc/arch/s390/sysstub.ph
new file mode 100644
index 0000000..880a0da
--- /dev/null
+++ b/usr/klibc/arch/s390/sysstub.ph
@@ -0,0 +1,40 @@
+# -*- perl -*-
+#
+# arch/s390/sysstub.ph
+#
+# Script to gen...
2006 May 11
0
[patch] klibc: merge s390 and s390x
...100
@@ -1,16 +0,0 @@
-/*
- * arch/s390x/syscall.c
- *
- * Common error-handling path for system calls.
- * The return value from __syscall_common becomes the
- * return value from the system call.
- */
-#include <errno.h>
-
-unsigned long __syscall_common(unsigned long err)
-{
- if (err < -4095UL)
- return err;
- errno = -err;
- return -1;
-}
diff -purN a/usr/klibc/arch/s390x/sysstub.ph b/usr/klibc/arch/s390x/sysstub.ph
--- a/usr/klibc/arch/s390x/sysstub.ph 2006-05-11 08:09:08.000000000 +0200
+++ b/usr/klibc/arch/s390x/sysstub.ph 1970-01-01 01:00:00.000000000 +0100
@@ -1,28 +0,0 @@
-# -*-...
2006 May 24
1
[patch] klibc: merge s390/s390x 2nd try
...100
@@ -1,16 +0,0 @@
-/*
- * arch/s390x/syscall.c
- *
- * Common error-handling path for system calls.
- * The return value from __syscall_common becomes the
- * return value from the system call.
- */
-#include <errno.h>
-
-unsigned long __syscall_common(unsigned long err)
-{
- if (err < -4095UL)
- return err;
- errno = -err;
- return -1;
-}
diff -purN a/usr/klibc/arch/s390x/sysstub.ph b/usr/klibc/arch/s390x/sysstub.ph
--- a/usr/klibc/arch/s390x/sysstub.ph 2006-05-24 15:19:12.000000000 +0200
+++ b/usr/klibc/arch/s390x/sysstub.ph 1970-01-01 01:00:00.000000000 +0100
@@ -1,28 +0,0 @@
-# -*-...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: