powerpc: Split ftrace bits into a separate file
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Tue, 25 Apr 2017 13:55:53 +0000 (19:25 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 27 Apr 2017 12:20:29 +0000 (22:20 +1000)
commit7853f9c029ac9134df42ea9e0d6bc600180f268d
treeda63e31c2899e84a8b38eb3063ac7154a1b219df
parent2505820f7ce2da2ef4ca5bd02fc239df0ba87c9f
powerpc: Split ftrace bits into a separate file

entry_*.S now includes a lot more than just kernel entry/exit code. As a
first step at cleaning this up, let's split out the ftrace bits into
separate files. Also move all related tracing code into a new trace/
subdirectory.

No functional changes.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/ftrace.c [deleted file]
arch/powerpc/kernel/trace/Makefile [new file with mode: 0644]
arch/powerpc/kernel/trace/ftrace.c [new file with mode: 0644]
arch/powerpc/kernel/trace/ftrace_32.S [new file with mode: 0644]
arch/powerpc/kernel/trace/ftrace_64.S [new file with mode: 0644]
arch/powerpc/kernel/trace/trace_clock.c [new file with mode: 0644]
arch/powerpc/kernel/trace_clock.c [deleted file]