mirror of https://gitee.com/openkylin/linux.git
ARM: zynq: convert to CONFIG_MULTI_IRQ_HANDLER
Convert the zynq platform to be using the gic_handle_irq function as its primary interrupt handler. Acked-by: John Linn <john.linn@xilinx.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
parent
ead31ee5ed
commit
368b8e2523
|
@ -979,6 +979,7 @@ config ARCH_ZYNQ
|
||||||
select ARM_AMBA
|
select ARM_AMBA
|
||||||
select ICST
|
select ICST
|
||||||
select USE_OF
|
select USE_OF
|
||||||
|
select MULTI_IRQ_HANDLER
|
||||||
help
|
help
|
||||||
Support for Xilinx Zynq ARM Cortex A9 Platform
|
Support for Xilinx Zynq ARM Cortex A9 Platform
|
||||||
endchoice
|
endchoice
|
||||||
|
|
|
@ -112,6 +112,7 @@ static const char *xilinx_dt_match[] = {
|
||||||
MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform")
|
MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform")
|
||||||
.map_io = xilinx_map_io,
|
.map_io = xilinx_map_io,
|
||||||
.init_irq = xilinx_irq_init,
|
.init_irq = xilinx_irq_init,
|
||||||
|
.handle_irq = gic_handle_irq,
|
||||||
.init_machine = xilinx_init_machine,
|
.init_machine = xilinx_init_machine,
|
||||||
.timer = &xttcpss_sys_timer,
|
.timer = &xttcpss_sys_timer,
|
||||||
.dt_compat = xilinx_dt_match,
|
.dt_compat = xilinx_dt_match,
|
||||||
|
|
|
@ -20,9 +20,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <mach/hardware.h>
|
|
||||||
#include <asm/hardware/entry-macro-gic.S>
|
|
||||||
|
|
||||||
.macro disable_fiq
|
.macro disable_fiq
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue