diff options
author | Tim Blechmann <tim@klingt.org> | 2009-03-14 09:29:25 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 03:30:13 -0400 |
commit | 4e193bd4dfdc983d12969b51439b4a1fbaf2daad (patch) | |
tree | ea62cfef7af7ec6d58b5beafb8de8bfc2ebd56a4 /kernel/perf_counter.c | |
parent | 039fc91e064b81c2820ff16c304be5aba35fd126 (diff) |
perf_counter: include missing header
Impact: build 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);
[ This bug was masked by unrelated x86 header file changes in the
x86 tree, but occurs in the tip:perfcounters/core standalone
tree. ]
Signed-off-by: Tim Blechmann <tim@klingt.org>
Orig-LKML-Reference: <20090314142925.49c29c17@thinkpad>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_counter.c')
-rw-r--r-- | 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 d6cc22271ef4..0018c5e81249 100644 --- a/kernel/perf_counter.c +++ b/kernel/perf_counter.c | |||
@@ -24,6 +24,8 @@ | |||
24 | #include <linux/vmstat.h> | 24 | #include <linux/vmstat.h> |
25 | #include <linux/rculist.h> | 25 | #include <linux/rculist.h> |
26 | 26 | ||
27 | #include <asm/irq_regs.h> | ||
28 | |||
27 | /* | 29 | /* |
28 | * Each CPU has a list of per CPU counters: | 30 | * Each CPU has a list of per CPU counters: |
29 | */ | 31 | */ |