]> git.karo-electronics.de Git - karo-tx-linux.git/commit
random: make it possible to enable debugging without rebuild
authorJiri Kosina <jkosina@suse.cz>
Thu, 25 Oct 2012 01:15:24 +0000 (12:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 25 Oct 2012 03:14:56 +0000 (14:14 +1100)
commited33c477040914f01b7d2ab69b6c21ba594e4339
treea034dc1068d7e27e1fb6318980e629d8269034cd
parent80ff5a04aad585ea3b66285ba71043db15374294
random: make it possible to enable debugging without rebuild

The module parameter that turns debugging mode (which basically means
printing a few extra lines during runtime) is in '#if 0' block.  Forcing
everyone who would like to see how entropy is behaving on his system to
rebuild seems to be a little bit too harsh.

If we were concerned about speed, we could potentially turn 'debug' into a
static key, but I don't think it's necessary.

Drop the '#if 0' block to allow using the 'debug' parameter without
rebuilding.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/char/random.c