• Tim Blechmann's avatar
    perf_counter: include missing header · 4e193bd4
    Tim Blechmann authored
    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: default avatarTim Blechmann <tim@klingt.org>
    Orig-LKML-Reference: <20090314142925.49c29c17@thinkpad>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    4e193bd4
perf_counter.c 57.5 KB