Skip to content

Commit ef187fd

Browse files
Christoph Hellwigtorvalds
authored andcommitted
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>
1 parent 95ad759 commit ef187fd

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

arch/m32r/include/asm/hardirq.h

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
#ifndef __ASM_HARDIRQ_H
33
#define __ASM_HARDIRQ_H
44

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>
136

147
#if NR_IRQS > 256
158
#define HARDIRQ_BITS 9
@@ -26,11 +19,7 @@ typedef struct {
2619
# error HARDIRQ_BITS is too low!
2720
#endif
2821

29-
static inline void ack_bad_irq(int irq)
30-
{
31-
printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq);
32-
BUG();
33-
}
22+
#include <asm-generic/hardirq.h>
3423

3524
#endif /* __ASM_HARDIRQ_H */
3625
#endif /* __KERNEL__ */

0 commit comments

Comments
 (0)