patch-2.4.20 linux-2.4.20/include/asm-parisc/posix_types.h
Next file: linux-2.4.20/include/asm-parisc/processor.h
Previous file: linux-2.4.20/include/asm-parisc/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/include/asm-parisc/posix_types.h
- Orig date:
Tue Dec 5 12:29:39 2000
diff -urN linux-2.4.19/include/asm-parisc/posix_types.h linux-2.4.20/include/asm-parisc/posix_types.h
@@ -19,10 +19,17 @@
typedef int __kernel_clock_t;
typedef int __kernel_daddr_t;
/* Note these change from narrow to wide kernels */
+#ifdef __LP64__
typedef unsigned long __kernel_size_t;
typedef long __kernel_ssize_t;
typedef long __kernel_ptrdiff_t;
typedef long __kernel_time_t;
+#else
+typedef unsigned int __kernel_size_t;
+typedef int __kernel_ssize_t;
+typedef int __kernel_ptrdiff_t;
+typedef int __kernel_time_t;
+#endif
typedef char * __kernel_caddr_t;
typedef unsigned short __kernel_uid16_t;
@@ -44,6 +51,10 @@
#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
} __kernel_fsid_t;
+/* compatibility stuff */
+typedef __kernel_uid_t __kernel_old_uid_t;
+typedef __kernel_gid_t __kernel_old_gid_t;
+
#if defined(__KERNEL__) && defined(__LP64__)
/* Now 32bit compatibility types */
typedef unsigned int __kernel_dev_t32;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)