With the introduction of

--- a/arch/i386/boot/compressed/Makefile
+++ b/arch/i386/boot/compressed/Makefile
@@ -9,6 +9,7 @@
 EXTRA_AFLAGS   := -traditional

 LDFLAGS_vmlinux := -T
+CFLAGS := $(subst -pg,,$(CFLAGS))
 CFLAGS_misc.o += -fPIC
 hostprogs-y    := relocs

quite some time ago the dummy mcount function in compressed/misc.c
became redundant. Let's remove this dead code.

Jan
---
 arch/i386/boot/compressed/misc.c |    6 ------
 1 file changed, 6 deletions(-)

Index: linux-2.6.22-ipipe/arch/i386/boot/compressed/misc.c
===================================================================
--- linux-2.6.22-ipipe.orig/arch/i386/boot/compressed/misc.c
+++ linux-2.6.22-ipipe/arch/i386/boot/compressed/misc.c
@@ -23,12 +23,6 @@
  * This means that it is not safe to place pointers in static structures.
  */
 
-#ifdef CONFIG_IPIPE_TRACE_MCOUNT
-void __attribute__ ((no_instrument_function)) mcount(void)
-{
-}
-#endif
-
 /*
  * Getting to provable safe in place decompression is hard.
  * Worst case behaviours need to be analized.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to