summaryrefslogtreecommitdiffstats
path: root/net/ethernet
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-01-21 17:18:59 +1030
committerRusty Russell <rusty@rustcorp.com.au>2013-01-21 17:20:09 +1030
commita3535c7e4f4495fe947f7901d25447d80e04fe52 (patch)
tree1a1f78c2b6cc07561b624e7443dc6493b5b8e5e3 /net/ethernet
parentf2e207f32422c7b9624d3393db015dfd118d9d22 (diff)
downloadop-kernel-dev-a3535c7e4f4495fe947f7901d25447d80e04fe52.zip
op-kernel-dev-a3535c7e4f4495fe947f7901d25447d80e04fe52.tar.gz
module: clean up load_module a little more.
1fb9341ac34825aa40354e74d9a2c69df7d2c304 made our locking in load_module more complicated: we grab the mutex once to insert the module in the list, then again to upgrade it once it's formed. Since the locking is self-contained, it's neater to do this in separate functions. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud