summaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2005-12-20 14:53:05 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2005-12-20 14:53:05 -0800
commita9c9dff1bc64750c81ee99779164d304c35d2ff3 (patch)
tree26f0c21862afe034f3cc1524dd14e7d2ab678aac /init/Kconfig
parentbb44f116a14c4c932f15c79acfafd46bcb43ca9a (diff)
downloadlinux-a9c9dff1bc64750c81ee99779164d304c35d2ff3.tar.gz
linux-a9c9dff1bc64750c81ee99779164d304c35d2ff3.tar.bz2
linux-a9c9dff1bc64750c81ee99779164d304c35d2ff3.zip
[SPARC64]: Stop putting -finline-limit=XXX into CFLAGS
It was a stupid workaround for the "static inline" vs. "extern inline" issues of long ago, and it is what causes schedule() to be inlined like crazy into kernel/sched.c when -Os is specified. MIPS and S390 should probably do the same. Now CC_OPTIMIZE_FOR_SIZE can be safely used on sparc64 once more. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 6c5dbedc6e96..9fc0759fa942 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -260,7 +260,6 @@ config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size (Look out for broken compilers!)"
default y
depends on ARM || H8300 || EXPERIMENTAL
- depends on !SPARC64
help
Enabling this option will pass "-Os" instead of "-O2" to gcc
resulting in a smaller kernel.