[PATCH openEuler-5.10 5/7] arm64: Fix wrong logic in gic_arch_restore_irqs()