[parisc-linux] Re: [parisc-linux-cvs] linux-2.6 carlos
Carlos O'Donell
carlos at baldric.uwo.ca
Tue Jan 27 22:25:31 MST 2004
On Tue, Jan 27, 2004 at 10:14:15PM -0700, Carlos O'Donell wrote:
> CVSROOT: /var/cvs
> Module name: linux-2.6
> Changes by: carlos 04/01/27 22:14:15
>
> Modified files:
> include/asm-parisc: posix_types.h
>
> Log message:
> __kernel_time_t should be of type long on 32-bit systems, it used to be int
>
The generic code expects this to be of type long on all builds, even
32-bit. This might cause other warnings in parisc drivers that have
gotten used to having time_t as int.
Index: include/asm-parisc/posix_types.h
===================================================================
RCS file: /var/cvs/linux-2.6/include/asm-parisc/posix_types.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- include/asm-parisc/posix_types.h 28 Sep 2003 04:06:17 -0000 1.2
+++ include/asm-parisc/posix_types.h 28 Jan 2004 05:14:14 -0000 1.3
@@ -29,7 +29,7 @@ typedef long __kernel_time_t;
typedef unsigned int __kernel_size_t;
typedef int __kernel_ssize_t;
typedef int __kernel_ptrdiff_t;
-typedef int __kernel_time_t;
+typedef long __kernel_time_t;
#endif
typedef char * __kernel_caddr_t;
More information about the parisc-linux
mailing list