Index: linux-2.6.18-rc5-mm1/kernel/sched.c =================================================================== --- linux-2.6.18-rc5-mm1.orig/kernel/sched.c 2006-09-08 11:38:35.852594785 -0700 +++ linux-2.6.18-rc5-mm1/kernel/sched.c 2006-09-08 11:39:29.182308471 -0700 @@ -269,7 +269,7 @@ struct rq { static DEFINE_PER_CPU(struct rq, runqueues); -int cpu_of(struct rq *rq) +static inline int cpu_of(struct rq *rq) { #ifdef CONFIG_SMP return rq->cpu;