Module Name:    src
Committed By:   christos
Date:           Sun Sep 24 07:39:28 UTC 2017

Modified Files:
        src/sys/arch/hppa/include: mutex.h

Log Message:
const me harder.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hppa/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/hppa/include/mutex.h
diff -u src/sys/arch/hppa/include/mutex.h:1.11 src/sys/arch/hppa/include/mutex.h:1.12
--- src/sys/arch/hppa/include/mutex.h:1.11	Tue Nov 16 04:35:14 2010
+++ src/sys/arch/hppa/include/mutex.h	Sun Sep 24 03:39:28 2017
@@ -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 @@ MUTEX_SET_WAITERS(struct kmutex *mtx, ui
 }
 
 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 @@ MUTEX_DESTROY(struct kmutex *mtx)
 }
 
 static inline bool
-MUTEX_DEBUG_P(struct kmutex *mtx)
+MUTEX_DEBUG_P(const volatile struct kmutex *mtx)
 {
 	return mtx->mtx_dodebug != 0;
 }

Reply via email to