Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Move l_flags to after l_cpu to save 4 bytes on LP64 ...



details:   https://anonhg.NetBSD.org/src/rev/b018a37f1156
branches:  trunk
changeset: 542616:b018a37f1156
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Feb 02 20:34:42 2003 +0000

description:
Move l_flags to after l_cpu to save 4 bytes on LP64 machines.

diffstat:

 sys/sys/lwp.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 015fe9d93c28 -r b018a37f1156 sys/sys/lwp.h
--- a/sys/sys/lwp.h     Sun Feb 02 20:33:05 2003 +0000
+++ b/sys/sys/lwp.h     Sun Feb 02 20:34:42 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lwp.h,v 1.4 2003/01/30 19:14:18 manu Exp $     */
+/*     $NetBSD: lwp.h,v 1.5 2003/02/02 20:34:42 matt Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -58,9 +58,9 @@
 
        LIST_ENTRY(lwp) l_sibling;      /* Entry on process's list of LWPs. */
 
-       int             l_flag;
        struct cpu_info * __volatile l_cpu; /* CPU we're running on if
                                               SONPROC */
+       int     l_flag;
        int     l_stat;
        lwpid_t l_lid;          /* LWP identifier; local to process. */
 



Home | Main Index | Thread Index | Old Index