summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorChristian Borntraeger <cborntra@de.ibm.com>2006-10-06 16:38:22 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-10-06 16:38:22 +0200
commitd83682b3971d6707d6d668b3b62d416ab7dd1ab3 (patch)
tree552ef4e3cb878306f3010194856b667d4cfdb360 /drivers/s390
parent49f19ce401edfff937c448dd74c22497da361889 (diff)
downloadlinux-stable-d83682b3971d6707d6d668b3b62d416ab7dd1ab3.tar.gz
linux-stable-d83682b3971d6707d6d668b3b62d416ab7dd1ab3.tar.bz2
linux-stable-d83682b3971d6707d6d668b3b62d416ab7dd1ab3.zip
[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 <cborntra@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/crypto/ap_bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c
index cd30f37fceae..c5ccd20b110c 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();