Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_MACH_APIC_H |
| 2 | #define __ASM_MACH_APIC_H |
| 3 | |
| 4 | /* |
| 5 | * Copyright 2004 James Cleverdon, IBM. |
| 6 | * Subject to the GNU Public License, v.2 |
| 7 | * |
| 8 | * Generic APIC sub-arch defines. |
| 9 | * |
| 10 | * Hacked for x86-64 by James Cleverdon from i386 architecture code by |
| 11 | * Martin Bligh, Andi Kleen, James Bottomley, John Stultz, and |
| 12 | * James Cleverdon. |
| 13 | */ |
| 14 | |
| 15 | #include <asm/genapic.h> |
| 16 | |
| 17 | #define INT_DELIVERY_MODE (genapic->int_delivery_mode) |
| 18 | #define INT_DEST_MODE (genapic->int_dest_mode) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #define TARGET_CPUS (genapic->target_cpus()) |
Eric W. Biederman | c7111c13 | 2006-10-08 07:47:55 -0600 | [diff] [blame] | 20 | #define vector_allocation_domain (genapic->vector_allocation_domain) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #define apic_id_registered (genapic->apic_id_registered) |
| 22 | #define init_apic_ldr (genapic->init_apic_ldr) |
| 23 | #define send_IPI_mask (genapic->send_IPI_mask) |
| 24 | #define send_IPI_allbutself (genapic->send_IPI_allbutself) |
| 25 | #define send_IPI_all (genapic->send_IPI_all) |
| 26 | #define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid) |
| 27 | #define phys_pkg_id (genapic->phys_pkg_id) |
| 28 | |
| 29 | #endif /* __ASM_MACH_APIC_H */ |