public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Greg Ungerer <gerg@snapgear.com>
To: linux-kernel@vger.kernel.org
Cc: gerg@uclinux.org, linux-m68k@vger.kernel.org
Subject: [PATCH] m68k: merge the non-mmu and mmu versions of hardirq.h
Date: Wed, 17 Jun 2009 17:10:59 +1000	[thread overview]
Message-ID: <200906170710.n5H7AxxV009015@localhost.localdomain> (raw)

[PATCH] m68k: merge the non-mmu and mmu versions of hardirq.h

There is nothing different required between the non-mmu and mmu
versions of hardirq.h, so merge them back into a single file.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---
 arch/m68k/include/asm/{hardirq_mm.h => hardirq.h} |    2 +
 arch/m68k/include/asm/hardirq_no.h                |   27 ---------------------
 2 files changed, 2 insertions(+), 27 deletions(-)
 rename arch/m68k/include/asm/{hardirq_mm.h => hardirq.h} (90%)
 delete mode 100644 arch/m68k/include/asm/hardirq_no.h

diff --git a/arch/m68k/include/asm/hardirq_mm.h b/arch/m68k/include/asm/hardirq.h
similarity index 90%
rename from arch/m68k/include/asm/hardirq_mm.h
rename to arch/m68k/include/asm/hardirq.h
index 394ee94..7167ed2 100644
--- a/arch/m68k/include/asm/hardirq_mm.h
+++ b/arch/m68k/include/asm/hardirq.h
@@ -13,4 +13,6 @@ typedef struct {
 
 #define HARDIRQ_BITS	8
 
+void ack_bad_irq(unsigned int irq);
+
 #endif
diff --git a/arch/m68k/include/asm/hardirq_no.h b/arch/m68k/include/asm/hardirq_no.h
deleted file mode 100644
index bfad281..0000000
--- a/arch/m68k/include/asm/hardirq_no.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef __M68K_HARDIRQ_H
-#define __M68K_HARDIRQ_H
-
-#include <linux/cache.h>
-#include <linux/threads.h>
-#include <asm/irq.h>
-
-typedef struct {
-	unsigned int __softirq_pending;
-} ____cacheline_aligned irq_cpustat_t;
-
-#include <linux/irq_cpustat.h>	/* Standard mappings for irq_cpustat_t above */
-
-#define HARDIRQ_BITS	8
-
-/*
- * The hardirq mask has to be large enough to have
- * space for potentially all IRQ sources in the system
- * nesting on a single CPU:
- */
-#if (1 << HARDIRQ_BITS) < NR_IRQS
-# error HARDIRQ_BITS is too low!
-#endif
-
-void ack_bad_irq(unsigned int irq);
-
-#endif /* __M68K_HARDIRQ_H */

             reply	other threads:[~2009-06-17  7:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17  7:10 Greg Ungerer [this message]
2009-06-17  7:41 ` [PATCH] m68k: merge the non-mmu and mmu versions of hardirq.h Arnd Bergmann
2009-06-18 14:07   ` Greg Ungerer
2009-06-25  7:25     ` Greg Ungerer

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=200906170710.n5H7AxxV009015@localhost.localdomain \
    --to=gerg@snapgear.com \
    --cc=gerg@uclinux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@vger.kernel.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