Skip to contentSkip to conversation

i386: remove another useless hunk

PATCH Applied Jan Kiszka 2 participants 2 messages Sep 16, 2007 – Oct 4, 2007

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 i386: remove another useless hunk

With the introduction of

arch/i386/boot/compressed/Makefile +1 -0
@@ -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(-)
arch/i386/boot/compressed/misc.c +0 -6
Index: 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.
#1 lore raw
Quoted 12 lines · Jan Kiszka

With the introduction of

arch/i386/boot/compressed/Makefile +1 -0
@@ -9,6 +9,7 @@
 EXTRA_AFLAGS   := -traditional
 
 LDFLAGS_vmlinux := -T
+CFLAGS := $(subst -pg,,$(CFLAGS))
 CFLAGS_misc.o += -fPIC
 hostprogs-y    := relocs
 
Quoted 2 lines

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

Merged, thanks.

Quoted 2 lines

Jan

Signature · 1 line
Philippe.