diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-08-12 07:04:19 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-08-11 15:34:20 +0200 |
commit | 907b29eb41aa604477a655bff7345731da94514d (patch) | |
tree | 12a7142ffa81a65da204384dfa26365d30803735 /arch/um/drivers/hostaudio_kern.c | |
parent | param: make param sections const. (diff) | |
download | linux-907b29eb41aa604477a655bff7345731da94514d.tar.xz linux-907b29eb41aa604477a655bff7345731da94514d.zip |
param: locking for kernel parameters
There may be cases (most obviously, sysfs-writable charp parameters) where
a module needs to prevent sysfs access to parameters.
Rather than express this in terms of a big lock, the functions are
expressed in terms of what they protect against. This is clearer, esp.
if the implementation changes to a module-level or even param-level lock.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Diffstat (limited to 'arch/um/drivers/hostaudio_kern.c')
0 files changed, 0 insertions, 0 deletions