Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: a8b3485287731978899ced11f24628c927890e78 authored by Linus Torvalds on 12 January 2007, 18:54:26 UTC
Linux v2.6.20-rc5
Tip revision: a8b3485
irqnode.h
#ifndef _M68K_IRQNODE_H_
#define _M68K_IRQNODE_H_

#include <linux/interrupt.h>

/*
 * This structure is used to chain together the ISRs for a particular
 * interrupt source (if it supports chaining).
 */
typedef struct irq_node {
	irq_handler_t	handler;
	unsigned long	flags;
	void		*dev_id;
	const char	*devname;
	struct irq_node *next;
} irq_node_t;

/*
 * This structure has only 4 elements for speed reasons
 */
struct irq_entry {
	irq_handler_t	handler;
	unsigned long	flags;
	void		*dev_id;
	const char	*devname;
};

/* count of spurious interrupts */
extern volatile unsigned int num_spurious;

/*
 * This function returns a new irq_node_t
 */
extern irq_node_t *new_irq_node(void);

#endif /* _M68K_IRQNODE_H_ */
back to top