All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] [PATCH] i386: remove another useless hunk
@ 2007-09-16  9:15 Jan Kiszka
  2007-10-04  8:14 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2007-09-16  9:15 UTC (permalink / raw)
  To: adeos-main; +Cc: Philippe Gerum


[-- Attachment #1.1: Type: text/plain, Size: 401 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: cleanup-tracer-i386.patch --]
[-- Type: text/x-patch; name="cleanup-tracer-i386.patch", Size: 673 bytes --]

---
 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

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

end of thread, other threads:[~2007-10-04  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-16  9:15 [Adeos-main] [PATCH] i386: remove another useless hunk Jan Kiszka
2007-10-04  8:14 ` Philippe Gerum

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.