sched: uninline rq_clock()
authorIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:46 +0000 (11:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:46 +0000 (11:16 +0200)
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>
kernel/sched.c

index 50c3587b06cb4fa8df2452e3d674ee4f68529400..0112f63ad376ee873d2755fcaf9fdd3430f89a51 100644 (file)
@@ -353,7 +353,7 @@ static unsigned long long __rq_clock(struct rq *rq)
        return clock;
 }
 
-static inline unsigned long long rq_clock(struct rq *rq)
+static unsigned long long rq_clock(struct rq *rq)
 {
        int this_cpu = smp_processor_id();