public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* How to force Kconfig tristate into range n..m?
@ 2007-05-15 23:30 Paul E. McKenney
  2007-05-15 23:41 ` Randy Dunlap
  2007-05-16 12:18 ` Andi Kleen
  0 siblings, 2 replies; 7+ messages in thread
From: Paul E. McKenney @ 2007-05-15 23:30 UTC (permalink / raw)
  To: linux-kernel, ak

Hello!

It would be nice to constrain RCU_TORTURE_TEST to "n" or "m", excluding
"y", since "y" gives anti-social results that I have never seen a use
for.  So I tried adding a "range n m" to the Kconfig.debug entry for
RCU_TORTURE_TEST.  This gives me the following warning at "make xconfig"
time:

   lib/Kconfig.debug:386:warning: range is only allowed for int or hex symbols

and xconfig ignores the restriction.

A few clumsy hacks get rid of the error message, but fail to cause
xconfig to enforce the limit.

Is there some other way to prohibit modules from being compiled into
the main kernel?

						Thanx, Paul

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-05-16 15:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15 23:30 How to force Kconfig tristate into range n..m? Paul E. McKenney
2007-05-15 23:41 ` Randy Dunlap
2007-05-16  0:18   ` Paul E. McKenney
2007-05-16 12:18 ` Andi Kleen
2007-05-16 14:30   ` Stefan Richter
2007-05-16 15:36     ` Satyam Sharma
2007-05-16 15:44   ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox