Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263312
b: refs/heads/master
c: 88f984e
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Renninger authored and Dominik Brodowski committed Aug 15, 2011
1 parent 277d01d commit f960901
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 2dfc818b35cbea59188cc86e86e0a0efce2b0dbe
refs/heads/master: 88f984e0e235f82a5d34f4a99244eeb14e1413e0
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static struct cpuidle_monitor *cpuidle_register(void)
/* Assume idle state count is the same for all CPUs */
cpuidle_sysfs_monitor.hw_states_num = sysfs_get_idlestate_count(0);

if (cpuidle_sysfs_monitor.hw_states_num == 0)
if (cpuidle_sysfs_monitor.hw_states_num <= 0)
return NULL;

for (num = 0; num < cpuidle_sysfs_monitor.hw_states_num; num++) {
Expand Down

0 comments on commit f960901

Please sign in to comment.