public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf_counter: include missing header
@ 2009-03-14 13:29 Tim Blechmann
  2009-03-14 15:21 ` Ingo Molnar
  2009-03-15  6:12 ` [tip:perfcounters/core] " Tim Blechmann
  0 siblings, 2 replies; 4+ messages in thread
From: Tim Blechmann @ 2009-03-14 13:29 UTC (permalink / raw)
  To: Ingo Molnar, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

Impact: compile fix

In order to compile a kernel with performance counter patches,
<asm/irq_regs.h> has to be included to provide the declaration of
struct pt_regs *get_irq_regs(void);

Signed-off-by: Tim Blechmann <tim@klingt.org>
---
 kernel/perf_counter.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c
index d6cc222..0018c5e 100644
--- a/kernel/perf_counter.c
+++ b/kernel/perf_counter.c
@@ -24,6 +24,8 @@
 #include <linux/vmstat.h>
 #include <linux/rculist.h>
 
+#include <asm/irq_regs.h>
+
 /*
  * Each CPU has a list of per CPU counters:
  */
-- 
1.6.2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-15  6:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-14 13:29 [PATCH] perf_counter: include missing header Tim Blechmann
2009-03-14 15:21 ` Ingo Molnar
2009-03-14 15:30   ` Tim Blechmann
2009-03-15  6:12 ` [tip:perfcounters/core] " Tim Blechmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox