ARM: 9094/1: Register with kernel restart handler
authorGuenter Roeck <linux@roeck-us.net>
Fri, 4 Jun 2021 14:07:35 +0000 (15:07 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sun, 13 Jun 2021 17:16:46 +0000 (18:16 +0100)
commitce8f1ccbc027ecc7720e30fa79c6a829c555e1b6
tree6f421f7901c1f3c42297493d219e7b2ce56242da
parent2bb565bbdc0358b6042e3076416c4ba32bd56bfc
ARM: 9094/1: Register with kernel restart handler

By making use of the kernel restart handler, board specific restart
handlers can be prioritized amongst available mechanisms for a particular
board or system.

Select the default priority of 128 to indicate that the restart callback
in the machine description is the default restart mechanism.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/setup.c