]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] irqs: Do not trace arch_local_{*,irq_*} functions
authorSteven Rostedt <srostedt@redhat.com>
Sun, 24 Jul 2011 08:47:58 +0000 (10:47 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 24 Jul 2011 08:48:00 +0000 (10:48 +0200)
commit7985fcfc95bbc9a0e77f4dcb0e4eca8902a2f05c
tree8bdce41f37b46bdb9e23638fae5aedc5eff72270
parent5e35ba59d824dc99a6f127630af30d035939b82f
[S390] 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.

Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/irqflags.h