[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <c2743923807d7beba3992a4a2524a6cb99b885fd.1394529373.git.yangds.fnst@cn.fujitsu.com>
Date: Tue, 11 Mar 2014 17:20:31 +0800
From: Dongsheng Yang <yangds.fnst@...fujitsu.com>
To: linux-kernel@...r.kernel.org
Cc: joe@...ches.com, peterz@...radead.org, mingo@...nel.org,
tglx@...utronix.de, heiko.carstens@...ibm.com,
Dongsheng Yang <yangds.fnst@...fujitsu.com>,
openipmi-developer@...ts.sourceforge.net,
Corey Minyard <minyard@....org>
Subject: [PATCH 10/16] driver/char: Replace hardcoding of 19 with MAX_NICE.
Signed-off-by: Dongsheng Yang <yangds.fnst@...fujitsu.com>
cc: openipmi-developer@...ts.sourceforge.net
cc: Corey Minyard <minyard@....org>
---
drivers/char/ipmi/ipmi_si_intf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 03f4189..03c0eed 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -999,7 +999,7 @@ static int ipmi_thread(void *data)
struct timespec busy_until;
ipmi_si_set_not_busy(&busy_until);
- set_user_nice(current, 19);
+ set_user_nice(current, MAX_NICE);
while (!kthread_should_stop()) {
int busy_wait;
--
1.8.2.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists