]> git.baikalelectronics.ru Git - kernel.git/commit
module_param: make bool parameters really bool (core code)
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:18 +0000 (09:32 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:18 +0000 (09:32 +1030)
commit834371b1e51b0bda41644019013b49c2b940cb5b
tree7779fadc6ceba76071e3f5db0ec6a1dee41a0dfd
parent50a128fea78342ddd65d6dba30fc2c0e23c027b8
module_param: make bool parameters really bool (core code)

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

It's time to remove the int/unsigned int option.  For this version
it'll simply give a warning, but it'll break next kernel version.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/init.h
init/main.c
kernel/irq/internals.h
kernel/irq/spurious.c
kernel/printk.c