diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2019-10-12 23:34:54 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2019-10-14 11:28:55 +0200 |
commit | 73e1c506b9ffb348af15763d62b3677378bd8d91 (patch) | |
tree | 67c5d840f478882f1f8917f6e45a2f2affca7ef4 /arch/mips/kernel/branch.c | |
parent | c46186f95f027674c3ce1ff8d84f9f03315b168d (diff) |
drivers: firmware: psci: use kernel restart handler functionality
Use the kernels restart handler to register the PSCI system reset
capability. The restart handler use notifier chains along with
priorities. This allows to use restart handlers with higher priority
(in case available) while still supporting PSCI.
Since the ARM handler had priority over the kernels restart handler
before this patch, use a slightly elevated priority of 160 to make
sure PSCI is used before most of the other handlers are called.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'arch/mips/kernel/branch.c')
0 files changed, 0 insertions, 0 deletions