]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Make rcutorture bool parameters really bool (core code)
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 15 Dec 2011 03:13:24 +0000 (13:43 +1030)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 16 Jan 2012 17:43:56 +0000 (09:43 -0800)
commit46525ebef418aed01773760d4313e18ea288a2ed
treec8b8b33fbc772b50ec5827ccf5874b315cccd07b
parent8db5995189b16e46bc17a2f764a21d8d937cdd83
rcu: Make rcutorture 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.
This commit makes this change to rcutorture.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutorture.c