提交 4e193bd4 编写于 作者: T Tim Blechmann 提交者: Ingo Molnar

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: NTim Blechmann <tim@klingt.org>
Orig-LKML-Reference: <20090314142925.49c29c17@thinkpad>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 039fc91e
......@@ -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:
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册