lkml.org 
[lkml]   [2004]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Remove obsolete hardirq stuff from frv includes
Date

The attached patch removes irq_enter() and friends from asm-frv/hardirq.h as
they are now mandatorily defined in linux/hardirq.h.

Signed-Off-By: David Howells <dhowells@redhat.com>
---
warthog>diffstat hardirq-2610rc2mm1.diff
hardirq.h | 13 -------------
1 files changed, 13 deletions(-)

diff -uNrp /warthog/kernels/linux-2.6.10-rc2-mm1/include/asm-frv/hardirq.h linux-2.6.10-rc2-mm1-frv/include/asm-frv/hardirq.h
--- /warthog/kernels/linux-2.6.10-rc2-mm1/include/asm-frv/hardirq.h 2004-11-16 11:31:44.000000000 +0000
+++ linux-2.6.10-rc2-mm1-frv/include/asm-frv/hardirq.h 2004-11-16 11:35:51.421306453 +0000
@@ -22,19 +22,6 @@ typedef struct {

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */

-
-#define irq_enter() (preempt_count() += HARDIRQ_OFFSET)
-#define nmi_enter() (irq_enter())
-#define nmi_exit() (preempt_count() -= HARDIRQ_OFFSET)
-
-#define irq_exit() \
-do { \
- preempt_count() -= IRQ_EXIT_OFFSET; \
- if (!in_interrupt() && softirq_pending(smp_processor_id())) \
- do_softirq(); \
- preempt_enable_no_resched(); \
-} while (0)
-
#ifdef CONFIG_SMP
#error SMP not available on FR-V
#endif /* CONFIG_SMP */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.156 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site