From: Simon Wilkinson Date: Fri, 9 Nov 2012 23:11:16 +0000 (+0000) Subject: rx: Add a no-op afs_kcondvar_t for LWP X-Git-Tag: upstream/1.8.0_pre1^2~1775 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e4c9b448c9e62c7f66f9feb4831a15f7ee073c25;p=packages%2Fo%2Fopenafs.git 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 --- 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)