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

h8300: convert to asm-generic/hardirq.h

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
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
6e0c9e77 eb8cdec4

+3 -17
+3 -12
arch/h8300/include/asm/hardirq.h
··· 1 1 #ifndef __H8300_HARDIRQ_H 2 2 #define __H8300_HARDIRQ_H 3 3 4 - #include <linux/kernel.h> 5 - #include <linux/threads.h> 6 - #include <linux/interrupt.h> 7 - #include <linux/irq.h> 8 - 9 - typedef struct { 10 - unsigned int __softirq_pending; 11 - } ____cacheline_aligned irq_cpustat_t; 12 - 13 - #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ 14 - 15 - extern void ack_bad_irq(unsigned int irq); 4 + #include <asm/irq.h> 16 5 17 6 #define HARDIRQ_BITS 8 18 7 ··· 13 24 #if (1 << HARDIRQ_BITS) < NR_IRQS 14 25 # error HARDIRQ_BITS is too low! 15 26 #endif 27 + 28 + #include <asm-generic/hardirq.h> 16 29 17 30 #endif
-5
arch/h8300/kernel/irq.c
··· 81 81 .end = h8300_end_irq, 82 82 }; 83 83 84 - void ack_bad_irq(unsigned int irq) 85 - { 86 - printk("unexpected IRQ trap at vector %02x\n", irq); 87 - } 88 - 89 84 #if defined(CONFIG_RAMKERNEL) 90 85 static unsigned long __init *get_vector_address(void) 91 86 {