module_param: split perm field into flags and perm
commit45fcc70c0b6ee0c508e1fdb5fef735c3546803f4
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Jun 2009 03:46:56 +0000 (12 21:46 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:16:56 +0000 (12 21:46 +0930)
tree15ea34cf77ecd9bbd4f78259ced012f18a26e01b
parent9a71af2c3627b379b7c31917a7f6ee0d29bc559b
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