diff options
-rw-r--r-- | arch/i386/kernel/mpparse.c | 13 | ||||
-rw-r--r-- | arch/x86_64/kernel/mpparse.c | 13 |
2 files changed, 0 insertions, 26 deletions
diff --git a/arch/i386/kernel/mpparse.c b/arch/i386/kernel/mpparse.c index 827569688562..a2b126fe9a54 100644 --- a/arch/i386/kernel/mpparse.c +++ b/arch/i386/kernel/mpparse.c | |||
@@ -294,19 +294,6 @@ static void __init MP_lintsrc_info (struct mpc_config_lintsrc *m) | |||
294 | m->mpc_irqtype, m->mpc_irqflag & 3, | 294 | m->mpc_irqtype, m->mpc_irqflag & 3, |
295 | (m->mpc_irqflag >> 2) &3, m->mpc_srcbusid, | 295 | (m->mpc_irqflag >> 2) &3, m->mpc_srcbusid, |
296 | m->mpc_srcbusirq, m->mpc_destapic, m->mpc_destapiclint); | 296 | m->mpc_srcbusirq, m->mpc_destapic, m->mpc_destapiclint); |
297 | /* | ||
298 | * Well it seems all SMP boards in existence | ||
299 | * use ExtINT/LVT1 == LINT0 and | ||
300 | * NMI/LVT2 == LINT1 - the following check | ||
301 | * will show us if this assumptions is false. | ||
302 | * Until then we do not have to add baggage. | ||
303 | */ | ||
304 | if ((m->mpc_irqtype == mp_ExtINT) && | ||
305 | (m->mpc_destapiclint != 0)) | ||
306 | BUG(); | ||
307 | if ((m->mpc_irqtype == mp_NMI) && | ||
308 | (m->mpc_destapiclint != 1)) | ||
309 | BUG(); | ||
310 | } | 297 | } |
311 | 298 | ||
312 | #ifdef CONFIG_X86_NUMAQ | 299 | #ifdef CONFIG_X86_NUMAQ |
diff --git a/arch/x86_64/kernel/mpparse.c b/arch/x86_64/kernel/mpparse.c index 022624503552..c12acc3b5552 100644 --- a/arch/x86_64/kernel/mpparse.c +++ b/arch/x86_64/kernel/mpparse.c | |||
@@ -223,19 +223,6 @@ static void __init MP_lintsrc_info (struct mpc_config_lintsrc *m) | |||
223 | m->mpc_irqtype, m->mpc_irqflag & 3, | 223 | m->mpc_irqtype, m->mpc_irqflag & 3, |
224 | (m->mpc_irqflag >> 2) &3, m->mpc_srcbusid, | 224 | (m->mpc_irqflag >> 2) &3, m->mpc_srcbusid, |
225 | m->mpc_srcbusirq, m->mpc_destapic, m->mpc_destapiclint); | 225 | m->mpc_srcbusirq, m->mpc_destapic, m->mpc_destapiclint); |
226 | /* | ||
227 | * Well it seems all SMP boards in existence | ||
228 | * use ExtINT/LVT1 == LINT0 and | ||
229 | * NMI/LVT2 == LINT1 - the following check | ||
230 | * will show us if this assumptions is false. | ||
231 | * Until then we do not have to add baggage. | ||
232 | */ | ||
233 | if ((m->mpc_irqtype == mp_ExtINT) && | ||
234 | (m->mpc_destapiclint != 0)) | ||
235 | BUG(); | ||
236 | if ((m->mpc_irqtype == mp_NMI) && | ||
237 | (m->mpc_destapiclint != 1)) | ||
238 | BUG(); | ||
239 | } | 226 | } |
240 | 227 | ||
241 | /* | 228 | /* |