Skip to content

Commit 2647aa1

Browse files
Laurentiu TUDORkumargala
authored andcommitted
powerpc/85xx: Remove stale BUG_ON in mpc85xx_smp_init
Under the FSL Hypervisor we triggered a BUG_ON in mpc85xx_smp_init that expected smp_ops.message_pass to be explicity set. However recent changes allows smp_ops.message_pass to be NULL and handled by default code. Thus the BUG_ON isn't relevant anymore. Signed-off-by: Laurentiu TUDOR <Laurentiu.Tudor@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
1 parent 3fce1c0 commit 2647aa1

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

  • arch/powerpc/platforms/85xx

‎arch/powerpc/platforms/85xx/smp.c‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Author: Andy Fleming <afleming@freescale.com>
33
* Kumar Gala <galak@kernel.crashing.org>
44
*
5-
* Copyright 2006-2008 Freescale Semiconductor Inc.
5+
* Copyright 2006-2008, 2011 Freescale Semiconductor Inc.
66
*
77
* This program is free software; you can redistribute it and/or modify it
88
* under the terms of the GNU General Public License as published by the
@@ -239,12 +239,13 @@ void __init mpc85xx_smp_init(void)
239239
}
240240

241241
if (cpu_has_feature(CPU_FTR_DBELL)) {
242-
/* .message_pass defaults to smp_muxed_ipi_message_pass */
242+
/*
243+
* If left NULL, .message_pass defaults to
244+
* smp_muxed_ipi_message_pass
245+
*/
243246
smp_85xx_ops.cause_ipi = doorbell_cause_ipi;
244247
}
245248

246-
BUG_ON(!smp_85xx_ops.message_pass);
247-
248249
smp_ops = &smp_85xx_ops;
249250

250251
#ifdef CONFIG_KEXEC

0 commit comments

Comments
 (0)