[SPARC64]: Stop putting -finline-limit=XXX into CFLAGS
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 20 Dec 2005 22:53:05 +0000 (14:53 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 20 Dec 2005 22:53:05 +0000 (14:53 -0800)
commita9c9dff1bc64750c81ee99779164d304c35d2ff3
tree26f0c21862afe034f3cc1524dd14e7d2ab678aac
parentbb44f116a14c4c932f15c79acfafd46bcb43ca9a
[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>
arch/sparc64/Makefile
init/Kconfig