From: Con Kolivas These #defines have no cost on !CONFIG_SMP without the ifdefs. Remove the unnecessary ifdefs. Signed-off-by: Con Kolivas Cc: Peter Williams Signed-off-by: Andrew Morton --- kernel/sched.c | 2 -- 1 files changed, 2 deletions(-) diff -puN kernel/sched.c~sched-modified-nice-support-for-smp-load-balancing-fix-fix kernel/sched.c --- devel/kernel/sched.c~sched-modified-nice-support-for-smp-load-balancing-fix-fix 2006-01-15 22:55:06.000000000 -0800 +++ devel-akpm/kernel/sched.c 2006-01-15 22:55:06.000000000 -0800 @@ -62,7 +62,6 @@ #define PRIO_TO_NICE(prio) ((prio) - MAX_RT_PRIO - 20) #define TASK_NICE(p) PRIO_TO_NICE((p)->static_prio) -#ifdef CONFIG_SMP /* * Priority bias for load balancing ranges from 1 (nice==19) to 139 (RT * priority of 100). @@ -70,7 +69,6 @@ #define NICE_TO_BIAS_PRIO(nice) (20 - (nice)) #define PRIO_TO_BIAS_PRIO(prio) NICE_TO_BIAS_PRIO(PRIO_TO_NICE(prio)) #define RTPRIO_TO_BIAS_PRIO(rp) (40 + (rp)) -#endif /* * 'User priority' is the nice value converted to something we _