perf_counter: include missing header
authorTim Blechmann <tim@klingt.org>
Sat, 14 Mar 2009 13:29:25 +0000 (14:29 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:30:13 +0000 (09:30 +0200)
commit4e193bd4dfdc983d12969b51439b4a1fbaf2daad
treeea62cfef7af7ec6d58b5beafb8de8bfc2ebd56a4
parent039fc91e064b81c2820ff16c304be5aba35fd126
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>
kernel/perf_counter.c