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 | #include <asm/genapic.h> |
| 5 | |
| 6 | #define esr_disable (genapic->ESR_DISABLE) |
| 7 | #define NO_BALANCE_IRQ (genapic->no_balance_irq) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | #define INT_DELIVERY_MODE (genapic->int_delivery_mode) |
| 9 | #define INT_DEST_MODE (genapic->int_dest_mode) |
| 10 | #undef APIC_DEST_LOGICAL |
| 11 | #define APIC_DEST_LOGICAL (genapic->apic_destination_logical) |
| 12 | #define TARGET_CPUS (genapic->target_cpus()) |
| 13 | #define apic_id_registered (genapic->apic_id_registered) |
| 14 | #define init_apic_ldr (genapic->init_apic_ldr) |
| 15 | #define ioapic_phys_id_map (genapic->ioapic_phys_id_map) |
Ingo Molnar | 3c43f03 | 2007-05-02 19:27:04 +0200 | [diff] [blame] | 16 | #define setup_apic_routing (genapic->setup_apic_routing) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | #define multi_timer_check (genapic->multi_timer_check) |
| 18 | #define apicid_to_node (genapic->apicid_to_node) |
| 19 | #define cpu_to_logical_apicid (genapic->cpu_to_logical_apicid) |
| 20 | #define cpu_present_to_apicid (genapic->cpu_present_to_apicid) |
| 21 | #define apicid_to_cpu_present (genapic->apicid_to_cpu_present) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | #define setup_portio_remap (genapic->setup_portio_remap) |
| 23 | #define check_apicid_present (genapic->check_apicid_present) |
| 24 | #define check_phys_apicid_present (genapic->check_phys_apicid_present) |
| 25 | #define check_apicid_used (genapic->check_apicid_used) |
| 26 | #define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid) |
| 27 | #define enable_apic_mode (genapic->enable_apic_mode) |
| 28 | #define phys_pkg_id (genapic->phys_pkg_id) |
| 29 | |
Venkatesh Pallipadi | 911a62d | 2005-09-03 15:56:31 -0700 | [diff] [blame] | 30 | extern void generic_bigsmp_probe(void); |
| 31 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | #endif /* __ASM_MACH_APIC_H */ |