public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "N.P.S." <napohybelskurwysynom2010@gmail.com>
To: linux-kernel@vger.kernel.org, Li Yi <yi.li@analog.com>,
	uclinux-dist-devel@blackfin.uclinux.org
Subject: [RFC][PATCH 3/8] Removal of dead code from arch/blackfin/include/asm/irqflags.h
Date: Fri, 22 Oct 2010 20:24:16 +0200	[thread overview]
Message-ID: <4CC1D6D0.8040108@gmail.com> (raw)
In-Reply-To: <4CC1D2D5.9050009@gmail.com>

commit 12282e20f3cb7757bfe333cac43174751453c15b
Author: N.P.S <napohybelskurwysynom2010@gmail.com>
Date:   Thu Oct 21 23:53:26 2010 +0200

    Removal of dead code from
    arch/blackfin/include/asm/irqflags.h
    
    Signed-off-by: Zimny Lech <napohybelskurwysynom2010@gmail.com>
    CC: Li Yi <yi.li@analog.com>
    CC: <uclinux-dist-devel@blackfin.uclinux.org>
    CC: <linux-kernel@vger.kernel.org>

diff --git a/arch/blackfin/include/asm/irqflags.h b/arch/blackfin/include/asm/irqflags.h
index 813a1af..26dfd27 100644
--- a/arch/blackfin/include/asm/irqflags.h
+++ b/arch/blackfin/include/asm/irqflags.h
@@ -137,42 +137,10 @@ static inline void local_irq_restore_hw_notrace(unsigned long flags)
 		local_irq_enable_hw_notrace();
 }
 
-#ifdef CONFIG_IPIPE_TRACE_IRQSOFF
-# define local_irq_disable_hw()				\
-	do {						\
-		if (!irqs_disabled_hw()) {		\
-			local_irq_disable_hw_notrace();	\
-			ipipe_trace_begin(0x80000000);	\
-		}					\
-	} while (0)
-# define local_irq_enable_hw()				\
-	do {						\
-		if (irqs_disabled_hw()) {		\
-			ipipe_trace_end(0x80000000);	\
-			local_irq_enable_hw_notrace();	\
-		}					\
-	} while (0)
-# define local_irq_save_hw(flags)			\
-	do {						\
-		local_save_flags_hw(flags);		\
-		if (!irqs_disabled_flags_hw(flags)) {	\
-			local_irq_disable_hw_notrace();	\
-			ipipe_trace_begin(0x80000001);	\
-		}					\
-	} while (0)
-# define local_irq_restore_hw(flags)			\
-	do {						\
-		if (!irqs_disabled_flags_hw(flags)) {	\
-			ipipe_trace_end(0x80000001);	\
-			local_irq_enable_hw_notrace();	\
-		}					\
-	} while (0)
-#else /* !CONFIG_IPIPE_TRACE_IRQSOFF */
 # define local_irq_disable_hw()		local_irq_disable_hw_notrace()
 # define local_irq_enable_hw()		local_irq_enable_hw_notrace()
 # define local_irq_save_hw(flags)	local_irq_save_hw_notrace(flags)
 # define local_irq_restore_hw(flags)	local_irq_restore_hw_notrace(flags)
-#endif /* !CONFIG_IPIPE_TRACE_IRQSOFF */
 
 #else /* CONFIG_IPIPE */
 

  parent reply	other threads:[~2010-10-22 18:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4CC1D2D5.9050009@gmail.com>
2010-10-22 18:23 ` [RFC][PATCH 1/8] Removal of dead code from arch/blackfin/kernel/traps.c N.P.S.
2010-10-22 19:43   ` Mike Frysinger
2010-10-22 20:32     ` Zimny Lech
2010-10-22 18:24 ` [RFC][PATCH 2/8] Removal of dead code from arch/blackfin/kernel/ipipe.c N.P.S.
2010-10-22 19:42   ` Mike Frysinger
2010-10-22 18:24 ` N.P.S. [this message]
2010-10-22 19:43   ` [RFC][PATCH 3/8] Removal of dead code from arch/blackfin/include/asm/irqflags.h Mike Frysinger
2010-10-22 20:39     ` Zimny Lech
2010-10-22 20:48       ` Mike Frysinger
2010-10-22 18:24 ` [RFC][PATCH 4/8] Removal of dead code from arch/m68knommu/kernel/setup.c N.P.S.
2010-10-22 18:24 ` [RFC][PATCH 5/8] Removal of dead code from arch/m68knommu/platform/68VZ328/config.c N.P.S.
2010-10-22 18:24 ` [RFC][PATCH 6/8] Removal of dead code from arch/powerpc/kernel/process.c N.P.S.
2010-10-22 18:25 ` [RFC][PATCH 7/8] Removal of dead code from arch/powerpc/mm/tlb_low_64e.S and arch/powerpc/include/asm/exception-64e.h N.P.S.
2010-10-22 18:25 ` [RFC][PATCH 8/8] Removal of dead code from arch/h8300/kernel/time.c N.P.S.

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=4CC1D6D0.8040108@gmail.com \
    --to=napohybelskurwysynom2010@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=uclinux-dist-devel@blackfin.uclinux.org \
    --cc=yi.li@analog.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox