mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
cf6567fe40
Impact: cleanup, paranoia We were not clearing the local APIC in clear_local_APIC() in the presence of x2apic. Fix it. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
7 lines
160 B
C
7 lines
160 B
C
#ifndef _ASM_X86_IRQ_REMAPPING_H
|
|
#define _ASM_X86_IRQ_REMAPPING_H
|
|
|
|
#define IRTE_DEST(dest) ((x2apic) ? dest : dest << 8)
|
|
|
|
#endif /* _ASM_X86_IRQ_REMAPPING_H */
|