From: Christian Borntraeger Date: Fri, 6 Oct 2006 14:38:22 +0000 (+0200) Subject: [S390] ap bus poll thread priority. X-Git-Tag: v2.6.19-rc2~290^2~5 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d83682b3971d6707d6d668b3b62d416ab7dd1ab3;p=~emulex%2Finfiniband.git [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. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index cd30f37fcea..c5ccd20b110 100644 --- a/drivers/s390/crypto/ap_bus.c +++ b/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();