diff options
Diffstat (limited to 'drivers/scsi/bnx2fc')
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index 1d41f4b9114f..f54843023466 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c +++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c | |||
@@ -464,7 +464,7 @@ static int bnx2fc_l2_rcv_thread(void *arg) | |||
464 | struct fcoe_percpu_s *bg = arg; | 464 | struct fcoe_percpu_s *bg = arg; |
465 | struct sk_buff *skb; | 465 | struct sk_buff *skb; |
466 | 466 | ||
467 | set_user_nice(current, -20); | 467 | set_user_nice(current, MIN_NICE); |
468 | set_current_state(TASK_INTERRUPTIBLE); | 468 | set_current_state(TASK_INTERRUPTIBLE); |
469 | while (!kthread_should_stop()) { | 469 | while (!kthread_should_stop()) { |
470 | schedule(); | 470 | schedule(); |
@@ -602,7 +602,7 @@ int bnx2fc_percpu_io_thread(void *arg) | |||
602 | struct bnx2fc_work *work, *tmp; | 602 | struct bnx2fc_work *work, *tmp; |
603 | LIST_HEAD(work_list); | 603 | LIST_HEAD(work_list); |
604 | 604 | ||
605 | set_user_nice(current, -20); | 605 | set_user_nice(current, MIN_NICE); |
606 | set_current_state(TASK_INTERRUPTIBLE); | 606 | set_current_state(TASK_INTERRUPTIBLE); |
607 | while (!kthread_should_stop()) { | 607 | while (!kthread_should_stop()) { |
608 | schedule(); | 608 | schedule(); |