summaryrefslogtreecommitdiff
path: root/kernel/irq
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-01-26 05:18:55 +0400
committerSteven Rostedt <rostedt@goodmis.org>2012-02-03 18:48:19 +0400
commitf069686e4bdc60a637d210ea3eea25fcdb82df88 (patch)
tree5a8f9fcafb2edaaf785c0b7f22d176b4cc87ea02 /kernel/irq
parentac483c446b67870444c9eeaf8325d3d2af9b91bc (diff)
downloadlinux-f069686e4bdc60a637d210ea3eea25fcdb82df88.tar.xz
tracing/softirq: Move __raise_softirq_irqoff() out of header
The __raise_softirq_irqoff() contains a tracepoint. As tracepoints in headers can cause issues, and not to mention, bloats the kernel when they are in a static inline, it is best to move the function that contains the tracepoint out of the header and into softirq.c. Link: http://lkml.kernel.org/r/20120118120711.GB14863@elte.hu Suggested-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/chip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index f7c543a801d9..fc418249f01f 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -16,6 +16,8 @@
#include <linux/interrupt.h>
#include <linux/kernel_stat.h>
+#include <trace/events/irq.h>
+
#include "internals.h"
/**