modules: only use mod->param_lock if CONFIG_MODULES
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 26 Jun 2015 03:19:19 +0000 (13:19 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 28 Jun 2015 05:20:12 +0000 (14:50 +0930)
commit20bdc2cfdbc484777b30b96fcdbb8994038f3ce1
treed7d8e0b68d7dfcb7c41ca72083d3aa8f02a46613
parentcf2fde7b39e9446e2af015215d7fb695781af0c1
modules: only use mod->param_lock if CONFIG_MODULES

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/params.c