From: Yehuda Sadeh Date: Sat, 3 Jul 2010 03:07:35 +0000 (+1000) Subject: module: initialize module dynamic debug later X-Git-Tag: v2.6.35-rc4~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff49d74ad383f54041378144ca1a229ee9aeaa59;p=pandora-kernel.git module: initialize module dynamic debug later We should initialize the module dynamic debug datastructures only after determining that the module is not loaded yet. This fixes a bug that introduced in 2.6.35-rc2, where when a trying to load a module twice, we also load it's dynamic printing data twice which causes all sorts of nasty issues. Also handle the dynamic debug cleanup later on failure. Signed-off-by: Yehuda Sadeh Signed-off-by: Rusty Russell (removed a #ifdef) Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed