]> git.baikalelectronics.ru Git - kernel.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)
commita6d769a99c1a55ca07a49ab8c74e8cedb3414fa8
tree1b6f06b4c119303ff77bef5f6e213d95cc2e5f63
parent7c9c8afc9a2cfc9a25e07fb571db1e2c6bddbb25
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