diff options
-rw-r--r-- | arch/x86/kernel/cpu/perf_counter.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86/kernel/cpu/perf_counter.c b/arch/x86/kernel/cpu/perf_counter.c index 266618aa1a03..a1f3646a3e8e 100644 --- a/arch/x86/kernel/cpu/perf_counter.c +++ b/arch/x86/kernel/cpu/perf_counter.c | |||
@@ -42,12 +42,12 @@ struct cpu_hw_counters { | |||
42 | * struct pmc_x86_ops - performance counter x86 ops | 42 | * struct pmc_x86_ops - performance counter x86 ops |
43 | */ | 43 | */ |
44 | struct pmc_x86_ops { | 44 | struct pmc_x86_ops { |
45 | u64 (*save_disable_all) (void); | 45 | u64 (*save_disable_all)(void); |
46 | void (*restore_all) (u64 ctrl); | 46 | void (*restore_all)(u64 ctrl); |
47 | unsigned eventsel; | 47 | unsigned eventsel; |
48 | unsigned perfctr; | 48 | unsigned perfctr; |
49 | int (*event_map) (int event); | 49 | int (*event_map)(int event); |
50 | int max_events; | 50 | int max_events; |
51 | }; | 51 | }; |
52 | 52 | ||
53 | static struct pmc_x86_ops *pmc_ops; | 53 | static struct pmc_x86_ops *pmc_ops; |
@@ -561,7 +561,7 @@ perf_handle_group(struct perf_counter *sibling, u64 *status, u64 *overflown) | |||
561 | /* | 561 | /* |
562 | * Maximum interrupt frequency of 100KHz per CPU | 562 | * Maximum interrupt frequency of 100KHz per CPU |
563 | */ | 563 | */ |
564 | #define PERFMON_MAX_INTERRUPTS 100000/HZ | 564 | #define PERFMON_MAX_INTERRUPTS (100000/HZ) |
565 | 565 | ||
566 | /* | 566 | /* |
567 | * This handler is triggered by the local APIC, so the APIC IRQ handling | 567 | * This handler is triggered by the local APIC, so the APIC IRQ handling |