diff options
author | Valentine Barshak <vbarshak@ru.mvista.com> | 2008-02-04 09:57:55 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-02-06 22:02:56 -0500 |
commit | 853265e588153dca22c82b84df39bbb40abd7ad0 (patch) | |
tree | f073097a174c65158d581204f6fd311c8e5663a3 /arch/powerpc/sysdev | |
parent | c41f4af8fef6ef5bec7c9d2335ba19636058d2a7 (diff) |
[POWERPC] Add missing native dcr dcr_ind_lock spinlock
The include/asm-powerpc/dcr-native.h declares extern spinlock_t dcr_ind_lock;
but it's actually isn't defined. This patch adds a missing dcr_ind_lock.
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/dcr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/dcr.c b/arch/powerpc/sysdev/dcr.c index 427027c7ea0f..437e48d3ae33 100644 --- a/arch/powerpc/sysdev/dcr.c +++ b/arch/powerpc/sysdev/dcr.c | |||
@@ -137,5 +137,6 @@ void dcr_unmap(dcr_host_t host, unsigned int dcr_c) | |||
137 | h.token = NULL; | 137 | h.token = NULL; |
138 | } | 138 | } |
139 | EXPORT_SYMBOL_GPL(dcr_unmap); | 139 | EXPORT_SYMBOL_GPL(dcr_unmap); |
140 | 140 | #else /* defined(CONFIG_PPC_DCR_NATIVE) */ | |
141 | #endif /* !defined(CONFIG_PPC_DCR_NATIVE) */ | 141 | DEFINE_SPINLOCK(dcr_ind_lock); |
142 | #endif /* !defined(CONFIG_PPC_DCR_NATIVE) */ | ||