igmp: add a missing spin_lock_init()
[linux/fpc-iii.git] / arch / x86 / xen / pmu.h
blobaf5f0ad94078f75943b82b7bc003a7d45f465b1c
1 #ifndef __XEN_PMU_H
2 #define __XEN_PMU_H
4 #include <xen/interface/xenpmu.h>
6 irqreturn_t xen_pmu_irq_handler(int irq, void *dev_id);
7 void xen_pmu_init(int cpu);
8 void xen_pmu_finish(int cpu);
9 bool is_xen_pmu(int cpu);
10 bool pmu_msr_read(unsigned int msr, uint64_t *val, int *err);
11 bool pmu_msr_write(unsigned int msr, uint32_t low, uint32_t high, int *err);
12 int pmu_apic_update(uint32_t reg);
13 unsigned long long xen_read_pmc(int counter);
15 #endif /* __XEN_PMU_H */