Module Name:    src
Committed By:   christos
Date:           Wed Oct  4 23:04:42 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.12 -r1.13 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.12 src/sys/arch/hppa/include/mutex.h:1.13
--- src/sys/arch/hppa/include/mutex.h:1.12	Sun Sep 24 03:39:28 2017
+++ src/sys/arch/hppa/include/mutex.h	Wed Oct  4 19:04:42 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: mutex.h,v 1.12 2017/09/24 07:39:28 christos Exp $	*/
+/*	$NetBSD: mutex.h,v 1.13 2017/10/04 23:04:42 christos Exp $	*/
 
 /*-
  * Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -141,13 +141,13 @@ MUTEX_DEBUG_P(const volatile struct kmut
 }
 
 static inline int
-MUTEX_SPIN_P(volatile struct kmutex *mtx)
+MUTEX_SPIN_P(const volatile struct kmutex *mtx)
 {
 	return mtx->mtx_owner == MUTEX_SPIN_FLAG;
 }
 
 static inline int
-MUTEX_ADAPTIVE_P(volatile struct kmutex *mtx)
+MUTEX_ADAPTIVE_P(const volatile struct kmutex *mtx)
 {
 	return mtx->mtx_owner != MUTEX_SPIN_FLAG;
 }

Reply via email to