aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-03-17 15:08:36 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:07 -0400
commit4655c7deca112bea86ca00f616f19c3717f687aa (patch)
treec0913d7eebb5ade8523f6c74490a088cac8098ec /include/asm-x86
parent555b07646d5bd0bcd4825e83580d5f6bb34259ea (diff)
x86: remove mpc_apic_id()
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/genapic_32.h3
-rw-r--r--include/asm-x86/mach-bigsmp/mach_apic.h11
-rw-r--r--include/asm-x86/mach-default/mach_apic.h11
-rw-r--r--include/asm-x86/mach-es7000/mach_apic.h10
-rw-r--r--include/asm-x86/mach-generic/mach_apic.h1
-rw-r--r--include/asm-x86/mach-summit/mach_apic.h11
6 files changed, 0 insertions, 47 deletions
diff --git a/include/asm-x86/genapic_32.h b/include/asm-x86/genapic_32.h
index 33e3ffe1766c..5d024400ddde 100644
--- a/include/asm-x86/genapic_32.h
+++ b/include/asm-x86/genapic_32.h
@@ -42,8 +42,6 @@ struct genapic {
42 int (*cpu_to_logical_apicid)(int cpu); 42 int (*cpu_to_logical_apicid)(int cpu);
43 int (*cpu_present_to_apicid)(int mps_cpu); 43 int (*cpu_present_to_apicid)(int mps_cpu);
44 physid_mask_t (*apicid_to_cpu_present)(int phys_apicid); 44 physid_mask_t (*apicid_to_cpu_present)(int phys_apicid);
45 int (*mpc_apic_id)(struct mpc_config_processor *m,
46 struct mpc_config_translation *t);
47 void (*setup_portio_remap)(void); 45 void (*setup_portio_remap)(void);
48 int (*check_phys_apicid_present)(int boot_cpu_physical_apicid); 46 int (*check_phys_apicid_present)(int boot_cpu_physical_apicid);
49 void (*enable_apic_mode)(void); 47 void (*enable_apic_mode)(void);
@@ -105,7 +103,6 @@ struct genapic {
105 APICFUNC(cpu_to_logical_apicid) \ 103 APICFUNC(cpu_to_logical_apicid) \
106 APICFUNC(cpu_present_to_apicid) \ 104 APICFUNC(cpu_present_to_apicid) \
107 APICFUNC(apicid_to_cpu_present) \ 105 APICFUNC(apicid_to_cpu_present) \
108 APICFUNC(mpc_apic_id) \
109 APICFUNC(setup_portio_remap) \ 106 APICFUNC(setup_portio_remap) \
110 APICFUNC(check_phys_apicid_present) \ 107 APICFUNC(check_phys_apicid_present) \
111 APICFUNC(mpc_oem_bus_info) \ 108 APICFUNC(mpc_oem_bus_info) \
diff --git a/include/asm-x86/mach-bigsmp/mach_apic.h b/include/asm-x86/mach-bigsmp/mach_apic.h
index 0d55b1f6d56b..8327907c79bf 100644
--- a/include/asm-x86/mach-bigsmp/mach_apic.h
+++ b/include/asm-x86/mach-bigsmp/mach_apic.h
@@ -106,17 +106,6 @@ static inline int cpu_to_logical_apicid(int cpu)
106 return cpu_physical_id(cpu); 106 return cpu_physical_id(cpu);
107} 107}
108 108
109static inline int mpc_apic_id(struct mpc_config_processor *m,
110 struct mpc_config_translation *translation_record)
111{
112 printk("Processor #%d %u:%u APIC version %d\n",
113 m->mpc_apicid,
114 (m->mpc_cpufeature & CPU_FAMILY_MASK) >> 8,
115 (m->mpc_cpufeature & CPU_MODEL_MASK) >> 4,
116 m->mpc_apicver);
117 return m->mpc_apicid;
118}
119
120static inline physid_mask_t ioapic_phys_id_map(physid_mask_t phys_map) 109static inline physid_mask_t ioapic_phys_id_map(physid_mask_t phys_map)
121{ 110{
122 /* For clustered we don't have a good way to do this yet - hack */ 111 /* For clustered we don't have a good way to do this yet - hack */
diff --git a/include/asm-x86/mach-default/mach_apic.h b/include/asm-x86/mach-default/mach_apic.h
index e081bdccde2b..13900e8cc1ab 100644
--- a/include/asm-x86/mach-default/mach_apic.h
+++ b/include/asm-x86/mach-default/mach_apic.h
@@ -100,17 +100,6 @@ static inline physid_mask_t apicid_to_cpu_present(int phys_apicid)
100 return physid_mask_of_physid(phys_apicid); 100 return physid_mask_of_physid(phys_apicid);
101} 101}
102 102
103static inline int mpc_apic_id(struct mpc_config_processor *m,
104 struct mpc_config_translation *translation_record)
105{
106 printk("Processor #%d %u:%u APIC version %d\n",
107 m->mpc_apicid,
108 (m->mpc_cpufeature & CPU_FAMILY_MASK) >> 8,
109 (m->mpc_cpufeature & CPU_MODEL_MASK) >> 4,
110 m->mpc_apicver);
111 return m->mpc_apicid;
112}
113
114static inline void setup_portio_remap(void) 103static inline void setup_portio_remap(void)
115{ 104{
116} 105}
diff --git a/include/asm-x86/mach-es7000/mach_apic.h b/include/asm-x86/mach-es7000/mach_apic.h
index 04cba9f1e375..0137b6e142cc 100644
--- a/include/asm-x86/mach-es7000/mach_apic.h
+++ b/include/asm-x86/mach-es7000/mach_apic.h
@@ -127,16 +127,6 @@ static inline int cpu_to_logical_apicid(int cpu)
127#endif 127#endif
128} 128}
129 129
130static inline int mpc_apic_id(struct mpc_config_processor *m, struct mpc_config_translation *unused)
131{
132 printk("Processor #%d %u:%u APIC version %d\n",
133 m->mpc_apicid,
134 (m->mpc_cpufeature & CPU_FAMILY_MASK) >> 8,
135 (m->mpc_cpufeature & CPU_MODEL_MASK) >> 4,
136 m->mpc_apicver);
137 return (m->mpc_apicid);
138}
139
140static inline physid_mask_t ioapic_phys_id_map(physid_mask_t phys_map) 130static inline physid_mask_t ioapic_phys_id_map(physid_mask_t phys_map)
141{ 131{
142 /* For clustered we don't have a good way to do this yet - hack */ 132 /* For clustered we don't have a good way to do this yet - hack */
diff --git a/include/asm-x86/mach-generic/mach_apic.h b/include/asm-x86/mach-generic/mach_apic.h
index a236e7021528..6eff343e1233 100644
--- a/include/asm-x86/mach-generic/mach_apic.h
+++ b/include/asm-x86/mach-generic/mach_apic.h
@@ -19,7 +19,6 @@
19#define cpu_to_logical_apicid (genapic->cpu_to_logical_apicid) 19#define cpu_to_logical_apicid (genapic->cpu_to_logical_apicid)
20#define cpu_present_to_apicid (genapic->cpu_present_to_apicid) 20#define cpu_present_to_apicid (genapic->cpu_present_to_apicid)
21#define apicid_to_cpu_present (genapic->apicid_to_cpu_present) 21#define apicid_to_cpu_present (genapic->apicid_to_cpu_present)
22#define mpc_apic_id (genapic->mpc_apic_id)
23#define setup_portio_remap (genapic->setup_portio_remap) 22#define setup_portio_remap (genapic->setup_portio_remap)
24#define check_apicid_present (genapic->check_apicid_present) 23#define check_apicid_present (genapic->check_apicid_present)
25#define check_phys_apicid_present (genapic->check_phys_apicid_present) 24#define check_phys_apicid_present (genapic->check_phys_apicid_present)
diff --git a/include/asm-x86/mach-summit/mach_apic.h b/include/asm-x86/mach-summit/mach_apic.h
index 91d7641cddc9..1f76c2e70232 100644
--- a/include/asm-x86/mach-summit/mach_apic.h
+++ b/include/asm-x86/mach-summit/mach_apic.h
@@ -125,17 +125,6 @@ static inline physid_mask_t apicid_to_cpu_present(int apicid)
125 return physid_mask_of_physid(0); 125 return physid_mask_of_physid(0);
126} 126}
127 127
128static inline int mpc_apic_id(struct mpc_config_processor *m,
129 struct mpc_config_translation *translation_record)
130{
131 printk("Processor #%d %u:%u APIC version %d\n",
132 m->mpc_apicid,
133 (m->mpc_cpufeature & CPU_FAMILY_MASK) >> 8,
134 (m->mpc_cpufeature & CPU_MODEL_MASK) >> 4,
135 m->mpc_apicver);
136 return m->mpc_apicid;
137}
138
139static inline void setup_portio_remap(void) 128static inline void setup_portio_remap(void)
140{ 129{
141} 130}