From: Tim Blechmann <tim@klingt.org>
To: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Subject: [PATCH] perf_counter: include missing header
Date: Sat, 14 Mar 2009 14:29:25 +0100 [thread overview]
Message-ID: <20090314142925.49c29c17@thinkpad> (raw)
[-- 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 --]
next reply other threads:[~2009-03-14 13:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-14 13:29 Tim Blechmann [this message]
2009-03-14 15:21 ` [PATCH] perf_counter: include missing header Ingo Molnar
2009-03-14 15:30 ` Tim Blechmann
2009-03-15 6:12 ` [tip:perfcounters/core] " Tim Blechmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090314142925.49c29c17@thinkpad \
--to=tim@klingt.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox