Skip to content
Commit 9843099f authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Fix SMP bootup with CONFIG_STACK_DEBUG or ftrace.



Based upon a report by Meelis Roos.

Any function call can try to access the current
thread register via the _mcount hooks when the kernel
is built with -pg (via ftrace or STACK_DEBUG).

That can't be setup properly very early on during
the bootup of other cpus for sun4u and some early
sun4v systems.

So add notrace markers to these specific functions, so
that _mcount doesn't get invoked too early.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f948cc6a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment