]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: irqs: do not trace arch_local_{*,irq_*} functions
authorSteven Rostedt <srostedt@redhat.com>
Sat, 2 Jul 2011 03:04:38 +0000 (23:04 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 23 Jul 2011 05:18:33 +0000 (01:18 -0400)
commit0f188696fd2a925be8d274a652bc5f669b2ca8fc
tree2714cb042606a686bc33f033ffcad9bfe6cd4f88
parentab67c626bf2601a2193216c6bebbdb44efc33146
Blackfin: irqs: do not trace arch_local_{*,irq_*} functions

Do not trace arch_local_save_flags(), arch_local_irq_*() and friends.
Although they are marked inline, gcc may still make a function out of
them and add it to the pool of functions that are traced by the function
tracer. This can cause undesirable results (kernel panic, triple faults,
etc).

Add the notrace notation to prevent them from ever being traced.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/irqflags.h