aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-08-09 05:16:46 -0400
committerIngo Molnar <mingo@elte.hu>2007-08-09 05:16:46 -0400
commit7bfd0485871df01764ca89d5679f128d870aef1a (patch)
treea17e8e9a55fc4cc3fef0c91f1393b6d0722d4d26 /kernel/sched.c
parent291ae5a12088e1aa87aae4899a818498be3d18eb (diff)
sched: uninline rq_clock()
uninline rq_clock() to save 263 bytes of code: text data bss dec hex filename 39561 3642 24 43227 a8db sched.o.before 39298 3642 24 42964 a7d4 sched.o.after Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 50c3587b06cb..0112f63ad376 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -353,7 +353,7 @@ static unsigned long long __rq_clock(struct rq *rq)
353 return clock; 353 return clock;
354} 354}
355 355
356static inline unsigned long long rq_clock(struct rq *rq) 356static unsigned long long rq_clock(struct rq *rq)
357{ 357{
358 int this_cpu = smp_processor_id(); 358 int this_cpu = smp_processor_id();
359 359