Re: [PATCH] [ARM] Unconditional call to smp_cross_call on UPcrashes

From: Russell King - ARM Linux
Date: Wed May 23 2012 - 14:52:53 EST


On Thu, May 24, 2012 at 05:09:59PM +0000, Pantelis Antoniou wrote:
> omap2plus_defconfig builds with SMP & SMP_ON_UP set.
> On beagle (which is UP) is_smp() returns false and we don't call
> smp_init_cpus which in turn does not initialize smp_cross_call which
> remains NULL.
>
> When issuing a reboot we OOPS with a NULL dereference on stop smp_call.
>
> Fixed by checking is_smp in smp_send_stop()

1. No sign-off, so this patch _can't_ be committed.

2. Poor description. You say it oopses, but you don't include the oops.
So, when I read this I've no idea exactly why this is failing. And it
_shouldn't_ fail, so I want to know what you are seeing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/