Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/include const me harder.



details:   https://anonhg.NetBSD.org/src/rev/eb7ec3c85331
branches:  trunk
changeset: 826719:eb7ec3c85331
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 24 07:39:28 2017 +0000

description:
const me harder.

diffstat:

 sys/arch/hppa/include/mutex.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 78b0b303e020 -r eb7ec3c85331 sys/arch/hppa/include/mutex.h
--- a/sys/arch/hppa/include/mutex.h     Sat Sep 23 23:58:31 2017 +0000
+++ b/sys/arch/hppa/include/mutex.h     Sun Sep 24 07:39:28 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mutex.h,v 1.11 2010/11/16 09:35:14 uebayasi Exp $      */
+/*     $NetBSD: mutex.h,v 1.12 2017/09/24 07:39:28 christos Exp $      */
 
 /*-
  * Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -106,7 +106,7 @@
 }
 
 static inline int
-MUTEX_HAS_WAITERS(volatile struct kmutex *mtx)
+MUTEX_HAS_WAITERS(const volatile struct kmutex *mtx)
 {
        return mtx->mtx_waiters != 0;
 }
@@ -135,7 +135,7 @@
 }
 
 static inline bool
-MUTEX_DEBUG_P(struct kmutex *mtx)
+MUTEX_DEBUG_P(const volatile struct kmutex *mtx)
 {
        return mtx->mtx_dodebug != 0;
 }



Home | Main Index | Thread Index | Old Index