From 15969dfa68e37d305dd11968e20ca0a425d2092a Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 28 Sep 2010 20:27:57 +0000 Subject: Implement a per-cpu held mutex counter if DIAGNOSTIC on all non-x86 platforms, to complete matthew@'s commit of a few days ago, and drop __HAVE_CPU_MUTEX_LEVEL define. With help from, and ok deraadt@. --- sys/arch/macppc/macppc/genassym.cf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/macppc') diff --git a/sys/arch/macppc/macppc/genassym.cf b/sys/arch/macppc/macppc/genassym.cf index 122f2615671..8c2c52bbe0c 100644 --- a/sys/arch/macppc/macppc/genassym.cf +++ b/sys/arch/macppc/macppc/genassym.cf @@ -1,4 +1,4 @@ -# $OpenBSD: genassym.cf,v 1.21 2009/06/09 01:12:38 deraadt Exp $ +# $OpenBSD: genassym.cf,v 1.22 2010/09/28 20:27:55 miod Exp $ # # Copyright (c) 1982, 1990 The Regents of the University of California. # All rights reserved. @@ -92,6 +92,9 @@ member ci_intstk member ci_tempsave member ci_ddbsave member ci_disisave +ifdef DIAGNOSTIC +member ci_mutex_level +endif struct mutex member mtx_wantipl -- cgit v1.2.3