diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 00:50:47 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:21 -0500 |
commit | a5c4329622a3437adef4b2a4288d127957743c97 (patch) | |
tree | 9eca2d48aba0da0265976b98e3e4122a3d93bc86 /arch/x86/mach-generic | |
parent | e2d40b1878bd13ca1028ddd299c48e4821ac3535 (diff) |
x86, apic: clean up ->init_apic_ldr()
- separate the namespace
- remove macros
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic')
-rw-r--r-- | arch/x86/mach-generic/bigsmp.c | 2 | ||||
-rw-r--r-- | arch/x86/mach-generic/default.c | 2 | ||||
-rw-r--r-- | arch/x86/mach-generic/es7000.c | 4 | ||||
-rw-r--r-- | arch/x86/mach-generic/numaq.c | 2 | ||||
-rw-r--r-- | arch/x86/mach-generic/summit.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c index 391cc99cd21c..7b7fc471a3f7 100644 --- a/arch/x86/mach-generic/bigsmp.c +++ b/arch/x86/mach-generic/bigsmp.c | |||
@@ -75,7 +75,7 @@ struct genapic apic_bigsmp = { | |||
75 | .check_apicid_present = bigsmp_check_apicid_present, | 75 | .check_apicid_present = bigsmp_check_apicid_present, |
76 | 76 | ||
77 | .vector_allocation_domain = bigsmp_vector_allocation_domain, | 77 | .vector_allocation_domain = bigsmp_vector_allocation_domain, |
78 | .init_apic_ldr = init_apic_ldr, | 78 | .init_apic_ldr = bigsmp_init_apic_ldr, |
79 | 79 | ||
80 | .ioapic_phys_id_map = ioapic_phys_id_map, | 80 | .ioapic_phys_id_map = ioapic_phys_id_map, |
81 | .setup_apic_routing = setup_apic_routing, | 81 | .setup_apic_routing = setup_apic_routing, |
diff --git a/arch/x86/mach-generic/default.c b/arch/x86/mach-generic/default.c index 6adc3c69a3c9..633e8482af25 100644 --- a/arch/x86/mach-generic/default.c +++ b/arch/x86/mach-generic/default.c | |||
@@ -56,7 +56,7 @@ struct genapic apic_default = { | |||
56 | .check_apicid_present = default_check_apicid_present, | 56 | .check_apicid_present = default_check_apicid_present, |
57 | 57 | ||
58 | .vector_allocation_domain = default_vector_allocation_domain, | 58 | .vector_allocation_domain = default_vector_allocation_domain, |
59 | .init_apic_ldr = init_apic_ldr, | 59 | .init_apic_ldr = default_init_apic_ldr, |
60 | 60 | ||
61 | .ioapic_phys_id_map = ioapic_phys_id_map, | 61 | .ioapic_phys_id_map = ioapic_phys_id_map, |
62 | .setup_apic_routing = setup_apic_routing, | 62 | .setup_apic_routing = setup_apic_routing, |
diff --git a/arch/x86/mach-generic/es7000.c b/arch/x86/mach-generic/es7000.c index bc1f21cd6a4d..b70833e35976 100644 --- a/arch/x86/mach-generic/es7000.c +++ b/arch/x86/mach-generic/es7000.c | |||
@@ -24,7 +24,7 @@ void __init es7000_update_genapic_to_cluster(void) | |||
24 | apic->irq_delivery_mode = INT_DELIVERY_MODE_CLUSTER; | 24 | apic->irq_delivery_mode = INT_DELIVERY_MODE_CLUSTER; |
25 | apic->irq_dest_mode = INT_DEST_MODE_CLUSTER; | 25 | apic->irq_dest_mode = INT_DEST_MODE_CLUSTER; |
26 | 26 | ||
27 | apic->init_apic_ldr = init_apic_ldr_cluster; | 27 | apic->init_apic_ldr = es7000_init_apic_ldr_cluster; |
28 | 28 | ||
29 | apic->cpu_mask_to_apicid = cpu_mask_to_apicid_cluster; | 29 | apic->cpu_mask_to_apicid = cpu_mask_to_apicid_cluster; |
30 | } | 30 | } |
@@ -117,7 +117,7 @@ struct genapic apic_es7000 = { | |||
117 | .check_apicid_present = es7000_check_apicid_present, | 117 | .check_apicid_present = es7000_check_apicid_present, |
118 | 118 | ||
119 | .vector_allocation_domain = es7000_vector_allocation_domain, | 119 | .vector_allocation_domain = es7000_vector_allocation_domain, |
120 | .init_apic_ldr = init_apic_ldr, | 120 | .init_apic_ldr = es7000_init_apic_ldr, |
121 | 121 | ||
122 | .ioapic_phys_id_map = ioapic_phys_id_map, | 122 | .ioapic_phys_id_map = ioapic_phys_id_map, |
123 | .setup_apic_routing = setup_apic_routing, | 123 | .setup_apic_routing = setup_apic_routing, |
diff --git a/arch/x86/mach-generic/numaq.c b/arch/x86/mach-generic/numaq.c index 712882f48c4e..a06fda579281 100644 --- a/arch/x86/mach-generic/numaq.c +++ b/arch/x86/mach-generic/numaq.c | |||
@@ -62,7 +62,7 @@ struct genapic apic_numaq = { | |||
62 | .check_apicid_present = numaq_check_apicid_present, | 62 | .check_apicid_present = numaq_check_apicid_present, |
63 | 63 | ||
64 | .vector_allocation_domain = numaq_vector_allocation_domain, | 64 | .vector_allocation_domain = numaq_vector_allocation_domain, |
65 | .init_apic_ldr = init_apic_ldr, | 65 | .init_apic_ldr = numaq_init_apic_ldr, |
66 | 66 | ||
67 | .ioapic_phys_id_map = ioapic_phys_id_map, | 67 | .ioapic_phys_id_map = ioapic_phys_id_map, |
68 | .setup_apic_routing = setup_apic_routing, | 68 | .setup_apic_routing = setup_apic_routing, |
diff --git a/arch/x86/mach-generic/summit.c b/arch/x86/mach-generic/summit.c index 1834887b94a3..36c552fa4275 100644 --- a/arch/x86/mach-generic/summit.c +++ b/arch/x86/mach-generic/summit.c | |||
@@ -55,7 +55,7 @@ struct genapic apic_summit = { | |||
55 | .check_apicid_present = summit_check_apicid_present, | 55 | .check_apicid_present = summit_check_apicid_present, |
56 | 56 | ||
57 | .vector_allocation_domain = summit_vector_allocation_domain, | 57 | .vector_allocation_domain = summit_vector_allocation_domain, |
58 | .init_apic_ldr = init_apic_ldr, | 58 | .init_apic_ldr = summit_init_apic_ldr, |
59 | 59 | ||
60 | .ioapic_phys_id_map = ioapic_phys_id_map, | 60 | .ioapic_phys_id_map = ioapic_phys_id_map, |
61 | .setup_apic_routing = setup_apic_routing, | 61 | .setup_apic_routing = setup_apic_routing, |