diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-01-29 23:13:22 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-01-29 07:13:23 +0100 |
commit | 6dd06c9fbe025f542bce4cdb91790c0f91962722 (patch) | |
tree | 5c946eb93f30c64fd435bdd6d1064880ef21557a /kernel/params.c | |
parent | module: better OOPS and lockdep coverage for loading modules (diff) | |
download | linux-6dd06c9fbe025f542bce4cdb91790c0f91962722.tar.xz linux-6dd06c9fbe025f542bce4cdb91790c0f91962722.zip |
module: make module_address_lookup safe
module_address_lookup releases preemption then returns a pointer into
the module space. The only user (kallsyms) copies the result, so just
do that under the preempt disable.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions