svn commit: r229487 - stable/9/sys/compat/freebsd32

Sergey Kandaurov pluknet at FreeBSD.org
Wed Jan 4 14:33:55 UTC 2012


Author: pluknet
Date: Wed Jan  4 14:33:54 2012
New Revision: 229487
URL: http://svn.freebsd.org/changeset/base/229487

Log:
  MFC r227447:
  
   struct timespec32: change types of tv_sec and tv_nsec fields to signed
   to match native struct timespec ABI on __LP32__.

Modified:
  stable/9/sys/compat/freebsd32/freebsd32.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/amd64/include/xen/   (props changed)
  stable/9/sys/boot/   (props changed)
  stable/9/sys/boot/i386/efi/   (props changed)
  stable/9/sys/boot/ia64/efi/   (props changed)
  stable/9/sys/boot/ia64/ski/   (props changed)
  stable/9/sys/boot/powerpc/boot1.chrp/   (props changed)
  stable/9/sys/boot/powerpc/ofw/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)
  stable/9/sys/conf/   (props changed)
  stable/9/sys/contrib/dev/acpica/   (props changed)
  stable/9/sys/contrib/octeon-sdk/   (props changed)
  stable/9/sys/contrib/pf/   (props changed)
  stable/9/sys/contrib/x86emu/   (props changed)

Modified: stable/9/sys/compat/freebsd32/freebsd32.h
==============================================================================
--- stable/9/sys/compat/freebsd32/freebsd32.h	Wed Jan  4 14:21:30 2012	(r229486)
+++ stable/9/sys/compat/freebsd32/freebsd32.h	Wed Jan  4 14:33:54 2012	(r229487)
@@ -52,8 +52,8 @@ struct timeval32 {
 } while (0)
 
 struct timespec32 {
-	u_int32_t tv_sec;
-	u_int32_t tv_nsec;
+	int32_t tv_sec;
+	int32_t tv_nsec;
 };
 #define TS_CP(src,dst,fld) do {			\
 	CP((src).fld,(dst).fld,tv_sec);		\


More information about the svn-src-stable-9 mailing list