mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
664399e1fb
This is part of Thomas Gleixner's generic IRQ patch, which converts ARM to use the generic IRQ subsystem. Here, we wrap calls to desc->handler() in an inline function, desc_handle_irq(). This reduces the size of Thomas' patch since the changes become more localised. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 lines
460 B
C
17 lines
460 B
C
/* arch/arm/mach-lh7a40x/common.h
|
|
*
|
|
* Copyright (C) 2004 Marc Singer
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2 as published by the Free Software Foundation.
|
|
*
|
|
*/
|
|
|
|
extern struct sys_timer lh7a40x_timer;
|
|
|
|
extern void lh7a400_init_irq (void);
|
|
extern void lh7a404_init_irq (void);
|
|
|
|
#define IRQ_DISPATCH(irq) desc_handle_irq((irq),(irq_desc + irq), regs)
|