linux-rx-spinlocks-for-preempt-20050320

FIXES 17966

force linux spinlocks on when CONFIG_PREEMPT is involved
This commit is contained in:
Chaskiel M Grundman 2005-03-20 20:12:05 +00:00 committed by Derrick Brashear
parent 1aa23c6653
commit 158f2d91b9
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ RCSID
#include "rx_kmutex.h"
#include "rx/rx_kernel.h"
#ifdef CONFIG_SMP
#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
void
afs_mutex_init(afs_kmutex_t * l)

View File

@ -24,7 +24,7 @@
#define AFS_GLOBAL_RXLOCK_KERNEL 1
#ifdef CONFIG_SMP
#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
#define RX_ENABLE_LOCKS 1
#ifndef _LINUX_CODA_FS_I

View File

@ -354,7 +354,7 @@ extern void osi_StopListener(void);
/* ARCH/rx_kmutex.c */
#ifdef CONFIG_SMP
#if 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);