Merge branches 'irq/sparseirq', 'x86/quirks' and 'x86/reboot' into cpus4096
[firefly-linux-kernel-4.4.55.git] / arch / x86 / include / asm / irq_remapping.h
1 #ifndef _ASM_X86_IRQ_REMAPPING_H
2 #define _ASM_X86_IRQ_REMAPPING_H
3
4 extern int x2apic;
5
6 #define IRTE_DEST(dest) ((x2apic) ? dest : dest << 8)
7
8 #endif  /* _ASM_X86_IRQ_REMAPPING_H */