Skip to contentSkip to conversation

ap bus poll thread priority.

S390 Martin Schwidefsky 1 participant 1 message Oct 6, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

From: Christian Borntraeger <[email protected]>

[S390] ap bus poll thread priority.

The ap bus is supposed to have a low priority. We must use 19 instead of -20, which is just the opposite.

---

 drivers/s390/crypto/ap_bus.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/s390/crypto/ap_bus.c +1 -1
diff -urpN linux-2.6/drivers/s390/crypto/ap_bus.c linux-2.6-patched/drivers/s390/crypto/ap_bus.c
@@ -1062,7 +1062,7 @@ static int ap_poll_thread(void *data)
 	unsigned long flags;
 	int requests;
 
-	set_user_nice(current, -20);
+	set_user_nice(current, 19);
 	while (1) {
 		if (need_resched()) {
 			schedule();