tracing/branch-tracer: include missing irqflags.h
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 29 Nov 2008 03:12:46 +0000 (04:12 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 29 Nov 2008 09:11:54 +0000 (10:11 +0100)
Impact: fix build error on branch tracer

This should fix a build error reported on alpha in linux-next:

 CC      kernel/trace/trace_branch.o
  kernel/trace/trace_branch.c: In function 'probe_likely_condition':
  kernel/trace/trace_branch.c:44: error: implicit declaration of function 'raw_local_irq_save'
  kernel/trace/trace_branch.c:76: error: implicit declaration of function 'raw_local_irq_restore'

Unfortunately, I can't test it since I don't have any Alpha build environment.

Reported-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_branch.c

index 877ee88e6a74a3f2cc6950f2b7f36148fbc2f561..bc972753568da0d944026029d45bae5c0c278445 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/kallsyms.h>
 #include <linux/seq_file.h>
 #include <linux/spinlock.h>
+#include <linux/irqflags.h>
 #include <linux/debugfs.h>
 #include <linux/uaccess.h>
 #include <linux/module.h>