From e4c9b448c9e62c7f66f9feb4831a15f7ee073c25 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Fri, 9 Nov 2012 23:11:16 +0000 Subject: [PATCH] rx: Add a no-op afs_kcondvar_t for LWP Remove the need to protect afs_kcondvar_t with RX_ENABLE_LOCKS, by typedefing it as an int in rx_lwp.c. This is identical to what we already do with afs_kmutex_t, and should let us get rid of some more preprocessor spaghetti. Change-Id: Ica6114585a68abde691ceee47d92d7f4e230a9bc Reviewed-on: http://gerrit.openafs.org/8534 Reviewed-by: Derrick Brashear Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- src/rx/rx_lwp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rx/rx_lwp.h b/src/rx/rx_lwp.h index 6ce407f4b..7da951707 100644 --- a/src/rx/rx_lwp.h +++ b/src/rx/rx_lwp.h @@ -18,6 +18,7 @@ #ifndef KDUMP_KERNEL typedef int afs_kmutex_t; +typedef int afs_kcondvar_t; #define CALL_HOLD(call, type) #define CALL_HOLD_R(call, type) -- 2.39.5