random: make it possible to enable debugging without rebuild
authorJiri Kosina <jkosina@suse.cz>
Mon, 15 Oct 2012 21:42:55 +0000 (23:42 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 16 Oct 2012 03:24:39 +0000 (23:24 -0400)
commitbe5b779ae9ce64ede0a8f4939360b0320bb257e2
tree06300e505d460f1c039c14535b6478abb31bdc0d
parentddffeb8c4d0331609ef2581d84de4d763607bd37
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>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
drivers/char/random.c