projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a01c49
)
[MIPS] Save 2k text size in cpu-probe
author
Thiemo Seufer
<ths@networkno.de>
Mon, 3 Jul 2006 12:30:01 +0000
(13:30 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 13 Jul 2006 20:26:01 +0000
(21:26 +0100)
The appended patch drops the inline for decode_configs, this saves about
2k of text size.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/cpu-probe.c
b/arch/mips/kernel/cpu-probe.c
index 17eea1f96d9f7b3bfdb332e196696ba951981dd7..aa2caa67299a45ec4b5d8950b82bf695d611855c 100644
(file)
--- a/
arch/mips/kernel/cpu-probe.c
+++ b/
arch/mips/kernel/cpu-probe.c
@@
-548,7
+548,7
@@
static inline unsigned int decode_config3(struct cpuinfo_mips *c)
return config3 & MIPS_CONF_M;
}
-static
inline void
decode_configs(struct cpuinfo_mips *c)
+static
void __init
decode_configs(struct cpuinfo_mips *c)
{
/* MIPS32 or MIPS64 compliant CPU. */
c->options = MIPS_CPU_4KEX | MIPS_CPU_4K_CACHE | MIPS_CPU_COUNTER |