Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch/i386 revert part of previous commit (t...



details:   https://anonhg.NetBSD.org/src/rev/4f6f23a670fa
branches:  trunk
changeset: 574734:4f6f23a670fa
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 10 23:39:27 2005 +0000

description:
revert part of previous commit (the block size type and the pad renumbering).
tron says it breaks compat mode.

diffstat:

 sys/compat/linux/arch/i386/linux_types.h |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r 2de3830385a4 -r 4f6f23a670fa sys/compat/linux/arch/i386/linux_types.h
--- a/sys/compat/linux/arch/i386/linux_types.h  Thu Mar 10 22:10:11 2005 +0000
+++ b/sys/compat/linux/arch/i386/linux_types.h  Thu Mar 10 23:39:27 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_types.h,v 1.13 2005/03/10 14:12:27 christos Exp $        */
+/*     $NetBSD: linux_types.h,v 1.14 2005/03/10 23:39:27 christos Exp $        */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -85,7 +85,7 @@
 #define LINUX_STAT64_HAS_NSEC  1
 struct linux_stat64 {
        unsigned long long lst_dev;
-       unsigned int    __pad0;
+       unsigned int    __pad1;
 
 #define LINUX_STAT64_HAS_BROKEN_ST_INO 1
        unsigned int    __lst_ino;
@@ -96,13 +96,12 @@
        unsigned int    lst_gid;
 
        unsigned long long      lst_rdev;
-       unsigned int    __pad1;
+       unsigned int    __pad2;
 
        long long       lst_size;
        unsigned int    lst_blksize;
 
-       unsigned int lst_blocks;        /* Number 512-byte blocks allocated. */
-       unsigned int __pad2;
+       unsigned long long lst_blocks;  /* Number 512-byte blocks allocated. */
 
        unsigned int    lst_atime;
        unsigned int    lst_atime_nsec;
@@ -111,7 +110,7 @@
        unsigned int    lst_mtime_nsec;
 
        unsigned int    lst_ctime;
-       unsigned int    lst_ctime_nsec; /* will be high 32 bits of ctime someday */
+       unsigned int    lst_ctime_nsec;
 
        unsigned long long lst_ino;
 };



Home | Main Index | Thread Index | Old Index