All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: adeos-main <adeos-main@gna.org>
Cc: Philippe Gerum <rpm@xenomai.org>
Subject: [Adeos-main] [PATCH] i386: remove another useless hunk
Date: Sun, 16 Sep 2007 11:15:28 +0200	[thread overview]
Message-ID: <46ECF430.9000402@domain.hid> (raw)


[-- 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 --]

             reply	other threads:[~2007-09-16  9:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-16  9:15 Jan Kiszka [this message]
2007-10-04  8:14 ` [Adeos-main] [PATCH] i386: remove another useless hunk Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46ECF430.9000402@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=rpm@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.