spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / arch / powerpc / sysdev / mpc8xx_pic.h
blob9fe00eebdc8b8cd150c11f0b1c836b092dc39b0e
1 #ifndef _PPC_KERNEL_MPC8xx_H
2 #define _PPC_KERNEL_MPC8xx_H
4 #include <linux/irq.h>
5 #include <linux/interrupt.h>
7 int mpc8xx_pic_init(void);
8 unsigned int mpc8xx_get_irq(void);
11 * Some internal interrupt registers use an 8-bit mask for the interrupt
12 * level instead of a number.
14 static inline uint mk_int_int_mask(uint mask)
16 return (1 << (7 - (mask/2)));
19 #endif /* _PPC_KERNEL_PPC8xx_H */