]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc, ftrace: fix compile error when modules not configured
authorSteven Rostedt <srostedt@redhat.com>
Fri, 6 Feb 2009 05:33:09 +0000 (21:33 -0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 22 Feb 2009 23:48:53 +0000 (10:48 +1100)
commit17be5b3ddf71d980f67fc826e49b00cd2afd724d
tree1b6f06b4c119303ff77bef5f6e213d95cc2e5f63
parent44e1d064b919cb3a56ef67e0f7e244927be8369a
powerpc, ftrace: fix compile error when modules not configured

Michael Neuling reported a compile bug when dynamic ftrace was
configured in and modules were not. This was due to the ftrace
code referencing module specific structures.

Reported-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/ftrace.c