module_param: allow 'bool' module_params to be bool, not just int.
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Jun 2009 03:46:57 +0000 (21:46 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:16:58 +0000 (21:46 +0930)
Impact: API cleanup

For historical reasons, 'bool' parameters must be an int, not a bool.
But there are around 600 users, so a conversion seems like useless churn.

So we use __same_type() to distinguish, and handle both cases.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found