summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/irq_remapping.h
blob: 78242c6ffa588f6dea9b71ae093946f93ea6417f (plain)
1
2
3
4
5
6
7
8
#ifndef _ASM_IRQ_REMAPPING_H
#define _ASM_IRQ_REMAPPING_H

extern int x2apic;

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

#endif
OpenPOWER on IntegriCloud