diff options
-rw-r--r-- | arch/x86/include/asm/apic.h | 1 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic_flat_64.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic_noop.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic_numachip.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/apic/bigsmp_32.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/apic/probe_32.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/apic/x2apic_cluster.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/apic/x2apic_phys.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/apic/x2apic_uv_x.c | 1 |
10 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index e776ed29b74c..c31fded99cf4 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h | |||
@@ -303,7 +303,6 @@ struct apic { | |||
303 | int (*cpu_present_to_apicid)(int mps_cpu); | 303 | int (*cpu_present_to_apicid)(int mps_cpu); |
304 | void (*apicid_to_cpu_present)(int phys_apicid, physid_mask_t *retmap); | 304 | void (*apicid_to_cpu_present)(int phys_apicid, physid_mask_t *retmap); |
305 | int (*check_phys_apicid_present)(int phys_apicid); | 305 | int (*check_phys_apicid_present)(int phys_apicid); |
306 | void (*enable_apic_mode)(void); | ||
307 | int (*phys_pkg_id)(int cpuid_apic, int index_msb); | 306 | int (*phys_pkg_id)(int cpuid_apic, int index_msb); |
308 | 307 | ||
309 | unsigned int (*get_apic_id)(unsigned long x); | 308 | unsigned int (*get_apic_id)(unsigned long x); |
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index d705bb7ed91b..67760275544b 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
@@ -2042,8 +2042,6 @@ void __init connect_bsp_APIC(void) | |||
2042 | imcr_pic_to_apic(); | 2042 | imcr_pic_to_apic(); |
2043 | } | 2043 | } |
2044 | #endif | 2044 | #endif |
2045 | if (apic->enable_apic_mode) | ||
2046 | apic->enable_apic_mode(); | ||
2047 | } | 2045 | } |
2048 | 2046 | ||
2049 | /** | 2047 | /** |
diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c index 67d7a9da342c..de918c410eae 100644 --- a/arch/x86/kernel/apic/apic_flat_64.c +++ b/arch/x86/kernel/apic/apic_flat_64.c | |||
@@ -177,7 +177,6 @@ static struct apic apic_flat = { | |||
177 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 177 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
178 | .apicid_to_cpu_present = NULL, | 178 | .apicid_to_cpu_present = NULL, |
179 | .check_phys_apicid_present = default_check_phys_apicid_present, | 179 | .check_phys_apicid_present = default_check_phys_apicid_present, |
180 | .enable_apic_mode = NULL, | ||
181 | .phys_pkg_id = flat_phys_pkg_id, | 180 | .phys_pkg_id = flat_phys_pkg_id, |
182 | 181 | ||
183 | .get_apic_id = flat_get_apic_id, | 182 | .get_apic_id = flat_get_apic_id, |
@@ -286,7 +285,6 @@ static struct apic apic_physflat = { | |||
286 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 285 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
287 | .apicid_to_cpu_present = NULL, | 286 | .apicid_to_cpu_present = NULL, |
288 | .check_phys_apicid_present = default_check_phys_apicid_present, | 287 | .check_phys_apicid_present = default_check_phys_apicid_present, |
289 | .enable_apic_mode = NULL, | ||
290 | .phys_pkg_id = flat_phys_pkg_id, | 288 | .phys_pkg_id = flat_phys_pkg_id, |
291 | 289 | ||
292 | .get_apic_id = flat_get_apic_id, | 290 | .get_apic_id = flat_get_apic_id, |
diff --git a/arch/x86/kernel/apic/apic_noop.c b/arch/x86/kernel/apic/apic_noop.c index fe5d5e6b479e..b205cdbdbe6a 100644 --- a/arch/x86/kernel/apic/apic_noop.c +++ b/arch/x86/kernel/apic/apic_noop.c | |||
@@ -135,7 +135,6 @@ struct apic apic_noop = { | |||
135 | .apicid_to_cpu_present = physid_set_mask_of_physid, | 135 | .apicid_to_cpu_present = physid_set_mask_of_physid, |
136 | 136 | ||
137 | .check_phys_apicid_present = default_check_phys_apicid_present, | 137 | .check_phys_apicid_present = default_check_phys_apicid_present, |
138 | .enable_apic_mode = NULL, | ||
139 | 138 | ||
140 | .phys_pkg_id = noop_phys_pkg_id, | 139 | .phys_pkg_id = noop_phys_pkg_id, |
141 | 140 | ||
diff --git a/arch/x86/kernel/apic/apic_numachip.c b/arch/x86/kernel/apic/apic_numachip.c index 6b55be3596b5..ae915391ebec 100644 --- a/arch/x86/kernel/apic/apic_numachip.c +++ b/arch/x86/kernel/apic/apic_numachip.c | |||
@@ -226,7 +226,6 @@ static const struct apic apic_numachip __refconst = { | |||
226 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 226 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
227 | .apicid_to_cpu_present = NULL, | 227 | .apicid_to_cpu_present = NULL, |
228 | .check_phys_apicid_present = default_check_phys_apicid_present, | 228 | .check_phys_apicid_present = default_check_phys_apicid_present, |
229 | .enable_apic_mode = NULL, | ||
230 | .phys_pkg_id = numachip_phys_pkg_id, | 229 | .phys_pkg_id = numachip_phys_pkg_id, |
231 | 230 | ||
232 | .get_apic_id = get_apic_id, | 231 | .get_apic_id = get_apic_id, |
diff --git a/arch/x86/kernel/apic/bigsmp_32.c b/arch/x86/kernel/apic/bigsmp_32.c index 349465aa2454..c4a8d63f8220 100644 --- a/arch/x86/kernel/apic/bigsmp_32.c +++ b/arch/x86/kernel/apic/bigsmp_32.c | |||
@@ -172,7 +172,6 @@ static struct apic apic_bigsmp = { | |||
172 | .cpu_present_to_apicid = bigsmp_cpu_present_to_apicid, | 172 | .cpu_present_to_apicid = bigsmp_cpu_present_to_apicid, |
173 | .apicid_to_cpu_present = physid_set_mask_of_physid, | 173 | .apicid_to_cpu_present = physid_set_mask_of_physid, |
174 | .check_phys_apicid_present = bigsmp_check_phys_apicid_present, | 174 | .check_phys_apicid_present = bigsmp_check_phys_apicid_present, |
175 | .enable_apic_mode = NULL, | ||
176 | .phys_pkg_id = bigsmp_phys_pkg_id, | 175 | .phys_pkg_id = bigsmp_phys_pkg_id, |
177 | 176 | ||
178 | .get_apic_id = bigsmp_get_apic_id, | 177 | .get_apic_id = bigsmp_get_apic_id, |
diff --git a/arch/x86/kernel/apic/probe_32.c b/arch/x86/kernel/apic/probe_32.c index 45ad6d894bb3..bda488680dbc 100644 --- a/arch/x86/kernel/apic/probe_32.c +++ b/arch/x86/kernel/apic/probe_32.c | |||
@@ -97,7 +97,6 @@ static struct apic apic_default = { | |||
97 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 97 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
98 | .apicid_to_cpu_present = physid_set_mask_of_physid, | 98 | .apicid_to_cpu_present = physid_set_mask_of_physid, |
99 | .check_phys_apicid_present = default_check_phys_apicid_present, | 99 | .check_phys_apicid_present = default_check_phys_apicid_present, |
100 | .enable_apic_mode = NULL, | ||
101 | .phys_pkg_id = default_phys_pkg_id, | 100 | .phys_pkg_id = default_phys_pkg_id, |
102 | 101 | ||
103 | .get_apic_id = default_get_apic_id, | 102 | .get_apic_id = default_get_apic_id, |
diff --git a/arch/x86/kernel/apic/x2apic_cluster.c b/arch/x86/kernel/apic/x2apic_cluster.c index ac70128aa9e9..6ce600f9bc78 100644 --- a/arch/x86/kernel/apic/x2apic_cluster.c +++ b/arch/x86/kernel/apic/x2apic_cluster.c | |||
@@ -258,7 +258,6 @@ static struct apic apic_x2apic_cluster = { | |||
258 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 258 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
259 | .apicid_to_cpu_present = NULL, | 259 | .apicid_to_cpu_present = NULL, |
260 | .check_phys_apicid_present = default_check_phys_apicid_present, | 260 | .check_phys_apicid_present = default_check_phys_apicid_present, |
261 | .enable_apic_mode = NULL, | ||
262 | .phys_pkg_id = x2apic_phys_pkg_id, | 261 | .phys_pkg_id = x2apic_phys_pkg_id, |
263 | 262 | ||
264 | .get_apic_id = x2apic_get_apic_id, | 263 | .get_apic_id = x2apic_get_apic_id, |
diff --git a/arch/x86/kernel/apic/x2apic_phys.c b/arch/x86/kernel/apic/x2apic_phys.c index 90eb77f81147..6fae733e9194 100644 --- a/arch/x86/kernel/apic/x2apic_phys.c +++ b/arch/x86/kernel/apic/x2apic_phys.c | |||
@@ -112,7 +112,6 @@ static struct apic apic_x2apic_phys = { | |||
112 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 112 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
113 | .apicid_to_cpu_present = NULL, | 113 | .apicid_to_cpu_present = NULL, |
114 | .check_phys_apicid_present = default_check_phys_apicid_present, | 114 | .check_phys_apicid_present = default_check_phys_apicid_present, |
115 | .enable_apic_mode = NULL, | ||
116 | .phys_pkg_id = x2apic_phys_pkg_id, | 115 | .phys_pkg_id = x2apic_phys_pkg_id, |
117 | 116 | ||
118 | .get_apic_id = x2apic_get_apic_id, | 117 | .get_apic_id = x2apic_get_apic_id, |
diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c index 480c05d8df22..004f017aa7b9 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c | |||
@@ -374,7 +374,6 @@ static struct apic __refdata apic_x2apic_uv_x = { | |||
374 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 374 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
375 | .apicid_to_cpu_present = NULL, | 375 | .apicid_to_cpu_present = NULL, |
376 | .check_phys_apicid_present = default_check_phys_apicid_present, | 376 | .check_phys_apicid_present = default_check_phys_apicid_present, |
377 | .enable_apic_mode = NULL, | ||
378 | .phys_pkg_id = uv_phys_pkg_id, | 377 | .phys_pkg_id = uv_phys_pkg_id, |
379 | 378 | ||
380 | .get_apic_id = x2apic_get_apic_id, | 379 | .get_apic_id = x2apic_get_apic_id, |