diff --git a/[refs] b/[refs] index 4e0760f6c2b5..13bbfbfdb920 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 15b2bee22a0390d951301b53e83df88d0350c499 +refs/heads/master: 94cd3e6cbebf85903b4d53ed2147bdb4c6e08625 diff --git a/trunk/include/net/inet_hashtables.h b/trunk/include/net/inet_hashtables.h index f44bb5c77a70..d0a043153cc6 100644 --- a/trunk/include/net/inet_hashtables.h +++ b/trunk/include/net/inet_hashtables.h @@ -182,7 +182,7 @@ static inline int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo) size = 2048; if (nr_pcpus >= 32) size = 4096; - if (sizeof(rwlock_t) != 0) { + if (sizeof(spinlock_t) != 0) { #ifdef CONFIG_NUMA if (size * sizeof(spinlock_t) > PAGE_SIZE) hashinfo->ehash_locks = vmalloc(size * sizeof(spinlock_t));