Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sparc32: convert to asm-generic/hardirq.h

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Christoph Hellwig and committed by
David S. Miller
c4168505 d1751388

+3 -13
+1 -11
arch/sparc/include/asm/hardirq_32.h
··· 7 7 #ifndef __SPARC_HARDIRQ_H 8 8 #define __SPARC_HARDIRQ_H 9 9 10 - #include <linux/threads.h> 11 - #include <linux/spinlock.h> 12 - #include <linux/cache.h> 13 - 14 - /* entry.S is sensitive to the offsets of these fields */ /* XXX P3 Is it? */ 15 - typedef struct { 16 - unsigned int __softirq_pending; 17 - } ____cacheline_aligned irq_cpustat_t; 18 - 19 - #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ 20 - 21 10 #define HARDIRQ_BITS 8 11 + #include <asm-generic/hardirq.h> 22 12 23 13 #endif /* __SPARC_HARDIRQ_H */
+2 -2
arch/sparc/include/asm/irq_32.h
··· 6 6 #ifndef _SPARC_IRQ_H 7 7 #define _SPARC_IRQ_H 8 8 9 - #include <linux/interrupt.h> 10 - 11 9 #define NR_IRQS 16 10 + 11 + #include <linux/interrupt.h> 12 12 13 13 #define irq_canonicalize(irq) (irq) 14 14