diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-07-09 12:51:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-07-09 12:51:59 -0400 |
commit | e05606d3301525aa67b081ad9fccade2b31ab35a (patch) | |
tree | 2a3e5a477dfca70ce32f3ea8dbc5e16034c98c23 /kernel/exit.c | |
parent | 138a8aeb5b9e5c5abd5e5ec22b6d1848e7e9c50b (diff) |
sched: clean up the rt priority macros
clean up the rt priority macros, pointed out by Andrew Morton.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 6c7699240327..8fd7acd7bbd0 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -290,7 +290,7 @@ static void reparent_to_kthreadd(void) | |||
290 | /* Set the exit signal to SIGCHLD so we signal init on exit */ | 290 | /* Set the exit signal to SIGCHLD so we signal init on exit */ |
291 | current->exit_signal = SIGCHLD; | 291 | current->exit_signal = SIGCHLD; |
292 | 292 | ||
293 | if (!has_rt_policy(current) && (task_nice(current) < 0)) | 293 | if (task_nice(current) < 0) |
294 | set_user_nice(current, 0); | 294 | set_user_nice(current, 0); |
295 | /* cpus_allowed? */ | 295 | /* cpus_allowed? */ |
296 | /* rt_priority? */ | 296 | /* rt_priority? */ |