[parisc-linux] Type sizes
Matthew Wilcox
matthew@wil.cx
Wed, 28 Mar 2001 06:00:00 +0100
What was the reasoning behind:
/* 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
in <asm/posix_types.h> ?
on a 32-bit kernel, sizeof(long) == sizeof(int), so why can't we just use
the first set of typedefs?
--
Revolutions do not require corporate support.