Browse Source

x6500: Never consider processors idle if they're enabled

Luke Dashjr 13 years ago
parent
commit
6ae9103363
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-x6500.c

+ 1 - 1
driver-x6500.c

@@ -521,7 +521,7 @@ static
 bool x6500_all_idle(struct cgpu_info *any_proc)
 {
 	for (struct cgpu_info *proc = any_proc->device; proc; proc = proc->next_proc)
-		if (proc->thr[0]->tv_poll.tv_sec != -1)
+		if (proc->thr[0]->tv_poll.tv_sec != -1 || proc->deven == DEV_ENABLED)
 			return false;
 	return true;
 }