sparc64: Add HAVE_FUNCTION_TRACE_MCOUNT_TEST and tidy up.
authorDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 05:35:24 +0000 (22:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 05:35:24 +0000 (22:35 -0700)
commit63b754957371c23b7515399a977a2e1d361a036c
treed1e7cd39f91215970300adfffcdf96b5f7484c43
parent0c25e9e6cbe7b233bb91d14d0e2c258bf8e6ec83
sparc64: Add HAVE_FUNCTION_TRACE_MCOUNT_TEST and tidy up.

Check function_trace_stop at ftrace_caller

Toss mcount_call and dummy call of ftrace_stub, unnecessary.

Document problems we'll have if the final kernel image link
ever turns on relaxation.

Properly size 'ftrace_call' so it looks right when inspecting
instructions under gdb et al.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/Kconfig
arch/sparc/lib/mcount.S