summaryrefslogtreecommitdiff
path: root/arch/avr32/include/asm/hardirq.h
blob: 015bc75ea79852cd6bd41d923ac26375ba0e7ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __ASM_AVR32_HARDIRQ_H
#define __ASM_AVR32_HARDIRQ_H

#include <linux/threads.h>
#include <asm/irq.h>

#ifndef __ASSEMBLY__

#include <linux/cache.h>

/* entry.S is sensitive to the offsets of these fields */
typedef struct {
	unsigned int __softirq_pending;
} ____cacheline_aligned irq_cpustat_t;

void ack_bad_irq(unsigned int irq);

/* Standard mappings for irq_cpustat_t above */
#include <linux/irq_cpustat.h>

#endif /* __ASSEMBLY__ */

#endif /* __ASM_AVR32_HARDIRQ_H */