]> 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)
commitf8001ee62ff46adb053d1adbed8ae11757204e48
tree2714cb042606a686bc33f033ffcad9bfe6cd4f88
parentc6fb1265598db1358e4c4194661e266cf9f65721
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