module_param: remove support for bool parameters which are really int.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 26 Mar 2012 02:20:51 +0000 (12:50 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 26 Mar 2012 02:20:51 +0000 (12:50 +1030)
commit8b8252813dee8e8cd453bb219731c36b268c69a7
tree0e39d722a48b084d7fa84e2470cf1b33c71a0134
parent02608bef8f774c058779546926889a2f2717a499
module_param: remove support for bool parameters which are really int.

module_param(bool) used to counter-intuitively take an int.  In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.

This eliminates that code (though leaves the flags field in the struct,
for impending use).

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