Module Name: src
Committed By: matt
Date: Fri Aug 31 23:56:15 UTC 2012
Modified Files:
src/sys/arch/arm/include: mutex.h
Log Message:
Move the __cpu_simple_lock to the last byte so it's easier to read in dumps
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/include/mutex.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/include/mutex.h
diff -u src/sys/arch/arm/include/mutex.h:1.11 src/sys/arch/arm/include/mutex.h:1.12
--- src/sys/arch/arm/include/mutex.h:1.11 Thu Aug 16 16:49:10 2012
+++ src/sys/arch/arm/include/mutex.h Fri Aug 31 23:56:15 2012
@@ -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 kmutex {
struct {
volatile uint8_t mtxs_dummy;
ipl_cookie_t mtxs_ipl;
- __cpu_simple_lock_t mtxs_lock;
volatile uint8_t mtxs_unused;
+ __cpu_simple_lock_t mtxs_lock;
} s;
} u;
};