]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
powerpc/ppc32: static ftrace fixes for PPC32
authorSteven Rostedt <srotedt@redhat.com>
Wed, 26 Nov 2008 20:54:46 +0000 (15:54 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 28 Nov 2008 13:08:07 +0000 (14:08 +0100)
commitf1eecf0e4f0796911cc076f38fcf05fea0b353d5
tree680196aab830dd515bfc98a9e6a52caab5b19b12
parent0029ff87529dff01a4b9c5bf380a0caacb5f7418
powerpc/ppc32: static ftrace fixes for PPC32

Impact: fix for PowerPC 32 code

There were some early init code that was not safe for static
ftrace to boot on my PowerBook. This code must only use relative
addressing, and static mcount performs a compare of the
ftrace_trace_function pointer, and gets that with an absolute address.
In the early init boot up code, this will cause a fault.

This patch removes tracing from the files containing the offending
functions.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/kernel/Makefile
arch/powerpc/lib/Makefile