[Linux-stable-mirror] [PATCH v4 2/5] x86/apic: Fix restoring boot irq mode in reboot and kexec/kdump