All of lore.kernel.org
 help / color / mirror / Atom feed
From: akpm@linux-foundation.org
To: sparclinux@vger.kernel.org
Subject: [patch 1/1] sparc32: convert to asm-generic/hardirq.h
Date: Mon, 28 Sep 2009 22:55:22 +0000	[thread overview]
Message-ID: <200909282255.n8SMtMaa015542@imap1.linux-foundation.org> (raw)
In-Reply-To: <200909181959.n8IJx3qh005792@imap1.linux-foundation.org>

From: Christoph Hellwig <hch@lst.de>

[akpm@linux-foundation.org: /arch/sparc/include/asm/irq_32.h: move NR_IRQS definition]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/sparc/include/asm/hardirq_32.h |   12 +-----------
 arch/sparc/include/asm/irq_32.h     |    4 ++--
 2 files changed, 3 insertions(+), 13 deletions(-)

diff -puN arch/sparc/include/asm/hardirq_32.h~sparc32-convert-to-asm-generic-hardirqh arch/sparc/include/asm/hardirq_32.h
--- a/arch/sparc/include/asm/hardirq_32.h~sparc32-convert-to-asm-generic-hardirqh
+++ a/arch/sparc/include/asm/hardirq_32.h
@@ -7,17 +7,7 @@
 #ifndef __SPARC_HARDIRQ_H
 #define __SPARC_HARDIRQ_H
 
-#include <linux/threads.h>
-#include <linux/spinlock.h>
-#include <linux/cache.h>
-
-/* entry.S is sensitive to the offsets of these fields */ /* XXX P3 Is it? */
-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
+#include <asm-generic/hardirq.h>
 
 #endif /* __SPARC_HARDIRQ_H */
diff -puN arch/sparc/include/asm/irq_32.h~sparc32-convert-to-asm-generic-hardirqh arch/sparc/include/asm/irq_32.h
--- a/arch/sparc/include/asm/irq_32.h~sparc32-convert-to-asm-generic-hardirqh
+++ a/arch/sparc/include/asm/irq_32.h
@@ -6,10 +6,10 @@
 #ifndef _SPARC_IRQ_H
 #define _SPARC_IRQ_H
 
-#include <linux/interrupt.h>
-
 #define NR_IRQS    16
 
+#include <linux/interrupt.h>
+
 #define irq_canonicalize(irq)	(irq)
 
 extern void __init init_IRQ(void);
_

  parent reply	other threads:[~2009-09-28 22:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 19:59 [patch 1/1] sparc32: convert to asm-generic/hardirq.h akpm
2009-09-25 21:07 ` David Miller
2009-09-25 21:15 ` Andrew Morton
2009-09-25 21:18 ` David Miller
2009-09-25 21:26 ` Sam Ravnborg
2009-09-25 21:36 ` Andrew Morton
2009-09-25 21:40 ` Andrew Morton
2009-09-25 21:42 ` Andrew Morton
2009-09-25 21:45 ` Sam Ravnborg
2009-09-25 21:50 ` Sam Ravnborg
2009-09-25 21:56 ` Andrew Morton
2009-09-25 21:59 ` David Miller
2009-09-25 22:19 ` Andrew Morton
2009-09-25 22:28 ` David Miller
2009-09-28 22:55 ` akpm [this message]
2009-10-01 21:32 ` David Miller

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=200909282255.n8SMtMaa015542@imap1.linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=sparclinux@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.