x86, x2apic: fix clear_local_APIC() in the presence of x2apic
[linux-drm-fsl-dcu.git] / arch / x86 / include / asm / irq_remapping.h
1 #ifndef _ASM_X86_IRQ_REMAPPING_H
2 #define _ASM_X86_IRQ_REMAPPING_H
3
4 #define IRTE_DEST(dest) ((x2apic) ? dest : dest << 8)
5
6 #endif  /* _ASM_X86_IRQ_REMAPPING_H */