diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-20 20:33:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-20 20:33:54 -0500 |
commit | b05948d9b7167e23af88cc65b9ffa4687eaf1f0d (patch) | |
tree | 12b7646800600b17cbe019fa3b452a57231f1594 | |
parent | fd30fc3256824f03c2ff9317269d66f72f7042ca (diff) | |
parent | a9c9dff1bc64750c81ee99779164d304c35d2ff3 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
-rw-r--r-- | arch/sparc64/Makefile | 5 | ||||
-rw-r--r-- | init/Kconfig | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/sparc64/Makefile b/arch/sparc64/Makefile index 43fe382da078..cad10c5b83d3 100644 --- a/arch/sparc64/Makefile +++ b/arch/sparc64/Makefile | |||
@@ -17,7 +17,6 @@ CC := $(shell if $(CC) -m64 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then | |||
17 | NEW_GCC := $(call cc-option-yn, -m64 -mcmodel=medlow) | 17 | NEW_GCC := $(call cc-option-yn, -m64 -mcmodel=medlow) |
18 | NEW_GAS := $(shell if $(LD) -V 2>&1 | grep 'elf64_sparc' > /dev/null; then echo y; else echo n; fi) | 18 | NEW_GAS := $(shell if $(LD) -V 2>&1 | grep 'elf64_sparc' > /dev/null; then echo y; else echo n; fi) |
19 | UNDECLARED_REGS := $(shell if $(CC) -c -x assembler /dev/null -Wa,--help | grep undeclared-regs > /dev/null; then echo y; else echo n; fi; ) | 19 | UNDECLARED_REGS := $(shell if $(CC) -c -x assembler /dev/null -Wa,--help | grep undeclared-regs > /dev/null; then echo y; else echo n; fi; ) |
20 | INLINE_LIMIT := $(call cc-option-yn, -m64 -finline-limit=100000) | ||
21 | 20 | ||
22 | export NEW_GCC | 21 | export NEW_GCC |
23 | 22 | ||
@@ -49,10 +48,6 @@ else | |||
49 | AFLAGS += -m64 -mcpu=ultrasparc $(CC_UNDECL) | 48 | AFLAGS += -m64 -mcpu=ultrasparc $(CC_UNDECL) |
50 | endif | 49 | endif |
51 | 50 | ||
52 | ifeq ($(INLINE_LIMIT),y) | ||
53 | CFLAGS := $(CFLAGS) -finline-limit=100000 | ||
54 | endif | ||
55 | |||
56 | ifeq ($(CONFIG_MCOUNT),y) | 51 | ifeq ($(CONFIG_MCOUNT),y) |
57 | CFLAGS := $(CFLAGS) -pg | 52 | CFLAGS := $(CFLAGS) -pg |
58 | endif | 53 | endif |
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 | |||
260 | bool "Optimize for size (Look out for broken compilers!)" | 260 | bool "Optimize for size (Look out for broken compilers!)" |
261 | default y | 261 | default y |
262 | depends on ARM || H8300 || EXPERIMENTAL | 262 | depends on ARM || H8300 || EXPERIMENTAL |
263 | depends on !SPARC64 | ||
264 | help | 263 | help |
265 | Enabling this option will pass "-Os" instead of "-O2" to gcc | 264 | Enabling this option will pass "-Os" instead of "-O2" to gcc |
266 | resulting in a smaller kernel. | 265 | resulting in a smaller kernel. |