projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
291ae5a
)
sched: uninline rq_clock()
author
Ingo Molnar
<mingo@elte.hu>
Thu, 9 Aug 2007 09:16:46 +0000
(11:16 +0200)
committer
Ingo 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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 50c3587b06cb4fa8df2452e3d674ee4f68529400..0112f63ad376ee873d2755fcaf9fdd3430f89a51 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-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();