forked from Minki/linux
197926108c
CLPS711X-target CPU can have a several FIQ interrupts. With this patch we adds handling for a one which will be used for ALSA PCM later. Since FIQ have a separate handler we only add "mask" and "unmask" calls which will used for enable/disable_irq functions. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Olof Johansson <olof@lixom.net>
18 lines
432 B
C
18 lines
432 B
C
/*
|
|
* linux/arch/arm/mach-clps711x/common.h
|
|
*
|
|
* Common bits.
|
|
*/
|
|
|
|
#define CLPS711X_NR_IRQS (33)
|
|
#define CLPS711X_NR_GPIO (4 * 8 + 3)
|
|
#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
|
|
|
|
struct sys_timer;
|
|
|
|
extern void clps711x_map_io(void);
|
|
extern void clps711x_init_irq(void);
|
|
extern void clps711x_handle_irq(struct pt_regs *regs);
|
|
extern void clps711x_restart(char mode, const char *cmd);
|
|
extern struct sys_timer clps711x_timer;
|