mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
rx-dont-use-kmutex-outside-linux-kernel-20050413
FIXES 18261 don't use kmutex in prototypes outside linux kernel
This commit is contained in:
parent
87e748f20d
commit
84d997e240
@ -354,7 +354,7 @@ extern void osi_StopListener(void);
|
||||
|
||||
|
||||
/* ARCH/rx_kmutex.c */
|
||||
#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
|
||||
#if defined(KERNEL) && defined(AFS_LINUX20_ENV) && (defined(CONFIG_SMP) || defined(CONFIG_PREEMPT))
|
||||
extern void afs_mutex_init(afs_kmutex_t * l);
|
||||
extern void afs_mutex_enter(afs_kmutex_t * l);
|
||||
extern int afs_mutex_tryenter(afs_kmutex_t * l);
|
||||
|
Loading…
Reference in New Issue
Block a user