diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-16 20:44:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-16 20:44:00 +0200 |
commit | 9843099ff46467461d6476a827f6f9701682dbac (patch) | |
tree | 989c39138718d8ea005a8fcf9651da19a2f270a8 /arch/sparc64/kernel/of_device.c | |
parent | sparc64: Fix OOPS in psycho_pcierr_intr_other(). (diff) | |
download | linux-9843099ff46467461d6476a827f6f9701682dbac.tar.xz linux-9843099ff46467461d6476a827f6f9701682dbac.zip |
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/of_device.c')
0 files changed, 0 insertions, 0 deletions