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

m32r: convert to asm-generic/hardirq.h

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Christoph Hellwig and committed by
Linus Torvalds
ef187fd7 95ad759c

+2 -13
+2 -13
arch/m32r/include/asm/hardirq.h
··· 2 2 #ifndef __ASM_HARDIRQ_H 3 3 #define __ASM_HARDIRQ_H 4 4 5 - #include <linux/threads.h> 6 - #include <linux/irq.h> 7 - 8 - typedef struct { 9 - unsigned int __softirq_pending; 10 - } ____cacheline_aligned irq_cpustat_t; 11 - 12 - #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ 5 + #include <asm/irq.h> 13 6 14 7 #if NR_IRQS > 256 15 8 #define HARDIRQ_BITS 9 ··· 19 26 # error HARDIRQ_BITS is too low! 20 27 #endif 21 28 22 - static inline void ack_bad_irq(int irq) 23 - { 24 - printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq); 25 - BUG(); 26 - } 29 + #include <asm-generic/hardirq.h> 27 30 28 31 #endif /* __ASM_HARDIRQ_H */ 29 32 #endif /* __KERNEL__ */