lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 22 Oct 2010 20:24:16 +0200
From:	"N.P.S." <napohybelskurwysynom2010@...il.com>
To:	linux-kernel@...r.kernel.org, Li Yi <yi.li@...log.com>,
	uclinux-dist-devel@...ckfin.uclinux.org
Subject: [RFC][PATCH 3/8] Removal of dead code from arch/blackfin/include/asm/irqflags.h

commit 12282e20f3cb7757bfe333cac43174751453c15b
Author: N.P.S <napohybelskurwysynom2010@...il.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@...il.com>
    CC: Li Yi <yi.li@...log.com>
    CC: <uclinux-dist-devel@...ckfin.uclinux.org>
    CC: <linux-kernel@...r.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 */
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ