Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147233
b: refs/heads/master
c: 169e41e
h: refs/heads/master
i:
  147231: d63ac8c
v: v3
  • Loading branch information
Jaswinder Singh Rajput authored and Ingo Molnar committed Mar 2, 2009
1 parent 95fa105 commit b14fba1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f87ad35d37fa543925210550f7db20a54c83ed70
refs/heads/master: 169e41eb7f5464c077a7e0e129f025759d04cc54
14 changes: 7 additions & 7 deletions trunk/arch/x86/kernel/cpu/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ struct cpu_hw_counters {
* struct pmc_x86_ops - performance counter x86 ops
*/
struct pmc_x86_ops {
u64 (*save_disable_all) (void);
void (*restore_all) (u64 ctrl);
unsigned eventsel;
unsigned perfctr;
int (*event_map) (int event);
int max_events;
u64 (*save_disable_all)(void);
void (*restore_all)(u64 ctrl);
unsigned eventsel;
unsigned perfctr;
int (*event_map)(int event);
int max_events;
};

static struct pmc_x86_ops *pmc_ops;
Expand Down Expand Up @@ -561,7 +561,7 @@ perf_handle_group(struct perf_counter *sibling, u64 *status, u64 *overflown)
/*
* Maximum interrupt frequency of 100KHz per CPU
*/
#define PERFMON_MAX_INTERRUPTS 100000/HZ
#define PERFMON_MAX_INTERRUPTS (100000/HZ)

/*
* This handler is triggered by the local APIC, so the APIC IRQ handling
Expand Down

0 comments on commit b14fba1

Please sign in to comment.