Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17770
b: refs/heads/master
c: 9efeae9
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle authored and unknown committed Jan 10, 2006
1 parent 026f8b7 commit d8d3e35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: ba339c03e2e8ede8ccd37ed6c4e564e3b1545495
refs/heads/master: 9efeae9a5cae7e7bdacff666a1d689f5b2901c64
4 changes: 3 additions & 1 deletion trunk/arch/mips/oprofile/op_model_mipsxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,10 @@ static int __init mipsxx_init(void)
int counters;

counters = n_counters();
if (counters == 0)
if (counters == 0) {
printk(KERN_ERR "Oprofile: CPU has no performance counters\n");
return -ENODEV;
}

reset_counters(counters);

Expand Down

0 comments on commit d8d3e35

Please sign in to comment.