aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/irq_remapping.h
blob: 20e1fd588dbfbfefc30b567b35625098002f105c (plain)
1
2
3
4
5
6
7
8
#ifndef _ASM_X86_IRQ_REMAPPING_H
#define _ASM_X86_IRQ_REMAPPING_H

extern int x2apic;

#define IRTE_DEST(dest) ((x2apic) ? dest : dest << 8)

#endif	/* _ASM_X86_IRQ_REMAPPING_H */