From: Steven Rostedt Date: Mon, 29 Mar 2010 18:25:18 +0000 (-0400) Subject: tracing: Fix compile error in module tracepoints when MODULE_UNLOAD not set X-Git-Tag: v2.6.35-rc1~523^2~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb0c53771fb2f5f66b0edb3ebce33be4bbf1c285;p=pandora-kernel.git tracing: Fix compile error in module tracepoints when MODULE_UNLOAD not set If modules are configured in the build but unloading of modules is not, then the refcnt is not defined. Place the get/put module tracepoints under CONFIG_MODULE_UNLOAD since it references this field in the module structure. As a side-effect, this patch also reduces the code when MODULE_UNLOAD is not set, because these unused tracepoints are not created. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed