mirror of https://gitee.com/openkylin/linux.git
ARM: ux500: switch from gic_arch_extn to gic_set_irqchip_flags
Instead of directly touching gic_arch_extn, which is about to be removed, use gic_set_irqchip_flags instead. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Link: https://lkml.kernel.org/r/1426088737-15817-4-git-send-email-marc.zyngier@arm.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
d04594c2f5
commit
233242040f
|
@ -52,7 +52,7 @@ void ux500_restart(enum reboot_mode mode, const char *cmd)
|
|||
*/
|
||||
void __init ux500_init_irq(void)
|
||||
{
|
||||
gic_arch_extn.flags = IRQCHIP_SKIP_SET_WAKE | IRQCHIP_MASK_ON_SUSPEND;
|
||||
gic_set_irqchip_flags(IRQCHIP_SKIP_SET_WAKE | IRQCHIP_MASK_ON_SUSPEND);
|
||||
irqchip_init();
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue