Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0953609f authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Ralf Baechle
Browse files

MIPS: OCTEON: SMP: delete redundant check



The same check is already done earlier in octeon_smp_hotplug_setup().

Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: default avatarDavid Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Patchwork: https://patchwork.linux-mips.org/patch/7199/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent fd1bb4c9
Loading
Loading
Loading
Loading
+0 −8
Original line number Original line Diff line number Diff line
@@ -192,14 +192,6 @@ static void octeon_init_secondary(void)
 */
 */
void octeon_prepare_cpus(unsigned int max_cpus)
void octeon_prepare_cpus(unsigned int max_cpus)
{
{
#ifdef CONFIG_HOTPLUG_CPU
	struct linux_app_boot_info *labi;

	labi = (struct linux_app_boot_info *)PHYS_TO_XKSEG_CACHED(LABI_ADDR_IN_BOOTLOADER);

	if (labi->labi_signature != LABI_SIGNATURE)
		panic("The bootloader version on this board is incorrect.");
#endif
	/*
	/*
	 * Only the low order mailbox bits are used for IPIs, leave
	 * Only the low order mailbox bits are used for IPIs, leave
	 * the other bits alone.
	 * the other bits alone.