commit | d53793c5d6eb0cfe4175d9c315a30d65adf3478b | [log] [tgz] |
---|---|---|
author | Marcin Wojtas <mw@semihalf.com> | Thu Aug 06 19:00:28 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 10 10:57:00 2015 -0700 |
tree | 75208ee01f8d28c2c43ec85e15b3b8bddcf0e137 | |
parent | fe1e1876d8f6d8d4b45e3940e6dd43cd3b18d958 [diff] |
net: mvpp2: remove excessive spinlocks from driver initialization Using spinlocks protection during one-time driver initialization is not necessary. Moreover it resulted in invalid GFP_KERNEL allocation under the lock. This commit removes redundant spinlocks from buffer manager part of mvpp2 initialization. Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reported-by: Alexandre Fournier <alexandre.fournier@wisp-e.com> Signed-off-by: David S. Miller <davem@davemloft.net>