From: David Howells <dhowells@redhat.com>
To: akpm@osdl.org, torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Remove obsolete hardirq stuff from frv includes
Date: Tue, 16 Nov 2004 19:13:51 +0000 [thread overview]
Message-ID: <3298.1100632431@redhat.com> (raw)
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 */
reply other threads:[~2004-11-16 19:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3298.1100632431@redhat.com \
--to=dhowells@redhat.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox