]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[S390] ap bus poll thread priority.
authorChristian Borntraeger <cborntra@de.ibm.com>
Fri, 6 Oct 2006 14:38:22 +0000 (16:38 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 6 Oct 2006 14:38:22 +0000 (16:38 +0200)
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 <cborntra@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.c

index cd30f37fceae4512b3c99088a006ced4c6eb5600..c5ccd20b110cc9b035088f9fe2b8b252ec6c6f03 100644 (file)
@@ -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();