]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
MIPS: OCTEON: watchdog: don't jump to bootloader without entry address
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 27 Jun 2014 21:59:50 +0000 (00:59 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Aug 2014 22:06:42 +0000 (00:06 +0200)
commitf64988f13e82dd1797e59b26c8728d26c332aa43
tree603c37b05a1a830847ebb927a126fd43f69e535e
parent0953609f294bfdffb5144789904f4c11a5dafb38
MIPS: OCTEON: watchdog: don't jump to bootloader without entry address

If CONFIG_HOTPLUG_CPU is set, the driver thinks bootloader entry
address is configured and we should jump there. However, this is
not necessarily true if the kernel is booted on a system
with older/incompatible bootloader.

Add dynamic checks for the bootloader entry address.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: David Daney <ddaney.cavm@gmail.com>
Cc: linux-watchdog@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7201/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/watchdog/octeon-wdt-main.c