2021-10-27 13:46:41 +00:00
|
|
|
#ifndef __ASM_GENERIC_HARDIRQ_H
|
|
|
|
#define __ASM_GENERIC_HARDIRQ_H
|
|
|
|
|
|
|
|
#include <linux/cache.h>
|
|
|
|
#include <linux/threads.h>
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
unsigned int __softirq_pending;
|
|
|
|
} ____cacheline_aligned irq_cpustat_t;
|
|
|
|
|
2021-11-13 04:26:51 +00:00
|
|
|
#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
|
2021-10-27 13:46:41 +00:00
|
|
|
#include <linux/irq.h>
|
|
|
|
|
|
|
|
#ifndef ack_bad_irq
|
|
|
|
static inline void ack_bad_irq(unsigned int irq)
|
|
|
|
{
|
|
|
|
printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __ASM_GENERIC_HARDIRQ_H */
|