aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mach-default
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-27 22:02:31 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:13 -0500
commitf8987a1093cc7a896137e264c24e04d4048e9f95 (patch)
treefbe21050e8b5547b64505544296890d9882bca78 /arch/x86/include/asm/mach-default
parent7ed248daa56156f2fd7175f90b62fc6397b0c7b7 (diff)
x86, genapic: rename int_delivery_mode, et. al.
int_delivery_mode is supposed to mean 'interrupt delivery mode', but it's quite a misnomer as 'int' we usually think of as an integer type ... The standard naming for such attributes is 'irq' - so rename the following fields and macros: int_delivery_mode => irq_delivery_mode INT_DELIVERY_MODE => IRQ_DELIVERY_MODE int_dest_mode => irq_dest_mode INT_DEST_MODE => IRQ_DEST_MODE Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/mach-default')
-rw-r--r--arch/x86/include/asm/mach-default/mach_apic.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_apic.h b/arch/x86/include/asm/mach-default/mach_apic.h
index 6a454fa0b433..b5364793262a 100644
--- a/arch/x86/include/asm/mach-default/mach_apic.h
+++ b/arch/x86/include/asm/mach-default/mach_apic.h
@@ -22,8 +22,8 @@ static inline const struct cpumask *target_cpus(void)
22 22
23#ifdef CONFIG_X86_64 23#ifdef CONFIG_X86_64
24#include <asm/genapic.h> 24#include <asm/genapic.h>
25#define INT_DELIVERY_MODE (apic->int_delivery_mode) 25#define IRQ_DELIVERY_MODE (apic->irq_delivery_mode)
26#define INT_DEST_MODE (apic->int_dest_mode) 26#define IRQ_DEST_MODE (apic->irq_dest_mode)
27#define TARGET_CPUS (apic->target_cpus()) 27#define TARGET_CPUS (apic->target_cpus())
28#define init_apic_ldr (apic->init_apic_ldr) 28#define init_apic_ldr (apic->init_apic_ldr)
29#define cpu_mask_to_apicid (apic->cpu_mask_to_apicid) 29#define cpu_mask_to_apicid (apic->cpu_mask_to_apicid)
@@ -35,8 +35,8 @@ static inline const struct cpumask *target_cpus(void)
35#define wakeup_secondary_cpu (apic->wakeup_cpu) 35#define wakeup_secondary_cpu (apic->wakeup_cpu)
36extern void setup_apic_routing(void); 36extern void setup_apic_routing(void);
37#else 37#else
38#define INT_DELIVERY_MODE dest_LowestPrio 38#define IRQ_DELIVERY_MODE dest_LowestPrio
39#define INT_DEST_MODE 1 /* logical delivery broadcast to all procs */ 39#define IRQ_DEST_MODE 1 /* logical delivery broadcast to all procs */
40#define TARGET_CPUS (target_cpus()) 40#define TARGET_CPUS (target_cpus())
41#define wakeup_secondary_cpu wakeup_secondary_cpu_via_init 41#define wakeup_secondary_cpu wakeup_secondary_cpu_via_init
42/* 42/*