]> git.baikalelectronics.ru Git - kernel.git/commit
module_param: split perm field into flags and perm
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Jun 2009 03:46:56 +0000 (21:46 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:16:56 +0000 (21:46 +0930)
commitb421530a34b85a644bc854bc380b5f9899645900
tree15ea34cf77ecd9bbd4f78259ced012f18a26e01b
parent9c4614f2c777247d6c15507f08dba4787fe68e63
module_param: split perm field into flags and perm

Impact: cleanup

Rather than hack KPARAM_KMALLOCED into the perm field, separate it out.
Since the perm field was 32 bits and only needs 16, we don't add bloat.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/moduleparam.h
kernel/params.c