mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 11:01:43 +00:00
bd4352cadf
Functions invoked early when booting up a cpu can't use tracing because mcount requires a valid 'current_thread_info()' and TLB mappings to be setup. The code path of sun4v_register_mondo_queues --> register_one_mondo is one such case. sun4v_register_mondo_queues already has the necessary 'notrace' annotation, but register_one_mondo does not. Normally register_one_mondo is inlined so the bug doesn't trigger, but with some config/compiler combinations, it won't be so we must properly mark it notrace. While we're here, add 'notrace' annoations to prom_printf and prom_halt so that early error handling won't have the same problem. Reported-by: Alexander Beregalov <a.beregalov@gmail.com> Reported-by: Leif Sawyer <lsawyer@gci.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
bootstr_32.c | ||
bootstr_64.c | ||
cif.S | ||
console_32.c | ||
console_64.c | ||
devmap.c | ||
devops_32.c | ||
devops_64.c | ||
init_32.c | ||
init_64.c | ||
Makefile | ||
memory.c | ||
misc_32.c | ||
misc_64.c | ||
mp.c | ||
p1275.c | ||
palloc.c | ||
printf.c | ||
ranges.c | ||
segment.c | ||
tree_32.c | ||
tree_64.c |