From e5fea0cce4df41f7cd12b6bc013a75712e7f3ade Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 5 May 2007 12:06:21 +0000 Subject: Define MUTEX_OLDIPL where they were missing, will be used (reasonably) shortly. --- sys/arch/sh/include/mutex.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/sh/include') diff --git a/sys/arch/sh/include/mutex.h b/sys/arch/sh/include/mutex.h index 819ab6209a0..658b3671dc6 100644 --- a/sys/arch/sh/include/mutex.h +++ b/sys/arch/sh/include/mutex.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mutex.h,v 1.1 2007/05/01 18:59:40 miod Exp $ */ +/* $OpenBSD: mutex.h,v 1.2 2007/05/05 12:06:20 miod Exp $ */ /* * Copyright (c) 2004 Artur Grabowski @@ -56,4 +56,6 @@ void mtx_init(struct mutex *, int); #define MUTEX_ASSERT_UNLOCKED(mtx) do { } while (0) #endif +#define MUTEX_OLDIPL(mtx) (mtx)->mtx_oldipl + #endif /* _SH_MUTEX_H_ */ -- cgit v1.2.3