mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
sunrpc: use DEFINE_SPINLOCK()
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
fafedf8170
commit
3eb15f2828
1 changed files with 1 additions and 2 deletions
|
|
@ -124,8 +124,7 @@ EXPORT_SYMBOL_GPL(svc_auth_unregister);
|
|||
#define DN_HASHMAX (1<<DN_HASHBITS)
|
||||
|
||||
static struct hlist_head auth_domain_table[DN_HASHMAX];
|
||||
static spinlock_t auth_domain_lock =
|
||||
__SPIN_LOCK_UNLOCKED(auth_domain_lock);
|
||||
static DEFINE_SPINLOCK(auth_domain_lock);
|
||||
|
||||
void auth_domain_put(struct auth_domain *dom)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue