[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>
这个提交包含在:
@@ -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.
|
||||
|
在新工单中引用
屏蔽一个用户