ab36d02ebedecc9d7c17a991e9913ce4f5f8046c
[linux-2.6.git] / include / asm-i386 / mach-generic / mach_apic.h
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)
8 #define NO_IOAPIC_CHECK (genapic->no_ioapic_check)
9 #define INT_DELIVERY_MODE (genapic->int_delivery_mode)
10 #define INT_DEST_MODE (genapic->int_dest_mode)
11 #undef APIC_DEST_LOGICAL
12 #define APIC_DEST_LOGICAL (genapic->apic_destination_logical)
13 #define TARGET_CPUS       (genapic->target_cpus())
14 #define apic_id_registered (genapic->apic_id_registered)
15 #define init_apic_ldr (genapic->init_apic_ldr)
16 #define ioapic_phys_id_map (genapic->ioapic_phys_id_map)
17 #define clustered_apic_check (genapic->clustered_apic_check) 
18 #define multi_timer_check (genapic->multi_timer_check)
19 #define apicid_to_node (genapic->apicid_to_node)
20 #define cpu_to_logical_apicid (genapic->cpu_to_logical_apicid) 
21 #define cpu_present_to_apicid (genapic->cpu_present_to_apicid)
22 #define apicid_to_cpu_present (genapic->apicid_to_cpu_present)
23 #define mpc_apic_id (genapic->mpc_apic_id) 
24 #define setup_portio_remap (genapic->setup_portio_remap)
25 #define check_apicid_present (genapic->check_apicid_present)
26 #define check_phys_apicid_present (genapic->check_phys_apicid_present)
27 #define check_apicid_used (genapic->check_apicid_used)
28 #define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid)
29 #define enable_apic_mode (genapic->enable_apic_mode)
30 #define phys_pkg_id (genapic->phys_pkg_id)
31
32 #endif /* __ASM_MACH_APIC_H */