Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158246
b: refs/heads/master
c: c550091
h: refs/heads/master
v: v3
  • Loading branch information
Robert Richter committed Jul 20, 2009
1 parent 77410cb commit 5f6a334
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 11be1a7b54283021777f409aa983ce125945e67c
refs/heads/master: c550091edd6fac2ed9dac1b30d986b6c58b216fa
5 changes: 2 additions & 3 deletions trunk/arch/x86/oprofile/op_model_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,10 @@ static void op_amd_setup_ctrs(struct op_x86_model_spec const *model,

/* setup reset_value */
for (i = 0; i < NUM_VIRT_COUNTERS; ++i) {
if (counter_config[i].enabled) {
if (counter_config[i].enabled)
reset_value[i] = counter_config[i].count;
} else {
else
reset_value[i] = 0;
}
}

/* clear all counters */
Expand Down

0 comments on commit 5f6a334

Please sign in to comment.