All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: Disable Function Tracer for Compressed kernel support part
@ 2009-10-16  4:26 Wu Zhangjin
  2009-10-16  9:35 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Wu Zhangjin @ 2009-10-16  4:26 UTC (permalink / raw)
  To: Linux-MIPS; +Cc: Ralf Baechle, Wu Zhangjin

There is no need to trace the compressed support part, so, dislable it.
and also, if we not disable it, there will be compiling error about no
defined _mcount.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 arch/mips/boot/compressed/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/mips/boot/compressed/Makefile b/arch/mips/boot/compressed/Makefile
index 9bc435d..e27f40b 100644
--- a/arch/mips/boot/compressed/Makefile
+++ b/arch/mips/boot/compressed/Makefile
@@ -20,6 +20,9 @@ VMLINUZ_LOAD_ADDRESS := 0x$(shell [ -n "$(VMLINUX_SIZE)" ] && printf %x $$(($(VM
 # set the default size of the mallocing area for decompressing
 BOOT_HEAP_SIZE := 0x400000
 
+# Disable Function Tracer
+KBUILD_CFLAGS := $(shell echo $(KBUILD_CFLAGS) | sed -e "s/-pg//")
+
 KBUILD_CFLAGS := $(LINUXINCLUDE) $(KBUILD_CFLAGS) -D__KERNEL__ \
 	-DBOOT_HEAP_SIZE=$(BOOT_HEAP_SIZE) -D"VMLINUX_LOAD_ADDRESS_ULL=$(VMLINUX_LOAD_ADDRESS)ull" \
 
-- 
1.6.2.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: Disable Function Tracer for Compressed kernel support part
  2009-10-16  4:26 [PATCH] MIPS: Disable Function Tracer for Compressed kernel support part Wu Zhangjin
@ 2009-10-16  9:35 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-10-16  9:35 UTC (permalink / raw)
  To: Wu Zhangjin; +Cc: Linux-MIPS

On Fri, Oct 16, 2009 at 12:26:45PM +0800, Wu Zhangjin wrote:

> There is no need to trace the compressed support part, so, dislable it.
> and also, if we not disable it, there will be compiling error about no
> defined _mcount.

Thanks, folded into the other compression patch in -queue.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-16  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-16  4:26 [PATCH] MIPS: Disable Function Tracer for Compressed kernel support part Wu Zhangjin
2009-10-16  9:35 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.