Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include Move the __cpu_simple_lock to the last ...



details:   https://anonhg.NetBSD.org/src/rev/2ed27f073e7c
branches:  trunk
changeset: 781311:2ed27f073e7c
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Aug 31 23:56:15 2012 +0000

description:
Move the __cpu_simple_lock to the last byte so it's easier to read in dumps

diffstat:

 sys/arch/arm/include/mutex.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r c3510aa768ea -r 2ed27f073e7c sys/arch/arm/include/mutex.h
--- a/sys/arch/arm/include/mutex.h      Fri Aug 31 23:42:34 2012 +0000
+++ b/sys/arch/arm/include/mutex.h      Fri Aug 31 23:56:15 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mutex.h,v 1.11 2012/08/16 16:49:10 matt Exp $  */
+/*     $NetBSD: mutex.h,v 1.12 2012/08/31 23:56:15 matt Exp $  */
 
 /*-
  * Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -63,8 +63,8 @@
                struct {
                        volatile uint8_t        mtxs_dummy;
                        ipl_cookie_t            mtxs_ipl;
+                       volatile uint8_t        mtxs_unused;
                        __cpu_simple_lock_t     mtxs_lock;
-                       volatile uint8_t        mtxs_unused;
                } s;
        } u;
 };



Home | Main Index | Thread Index | Old Index