]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix crash that occurs when function tracing is enabled
authorAl Cooper <alcooperx@gmail.com>
Thu, 15 Nov 2012 23:16:14 +0000 (18:16 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 Nov 2012 17:44:38 +0000 (18:44 +0100)
commit347cf5c2d1d3df5cfd452180c4d55d274291b147
tree0abfed858c46ef9797d4ef211a73eecbd8ce5afb
parente0b1d3e498ec132dc1f521e262e5e21767103374
MIPS: Fix crash that occurs when function tracing is enabled

A recent patch changed some irq routines from inlines to functions.
These routines are called by the tracer code. Now that they're functions,
if they are compiled for function tracing they will call the tracer
and crash the system due to infinite recursion. The fix disables
tracing in these functions by using "notrace" in the function
definition.

Signed-off-by: Al Cooper <alcooperx@gmail.com>
Reviewed-by: David Daney <david.daney@cavium.com>
Pathchwork: https://patchwork.linux-mips.org/patch/4564/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/mips-atomic.c