diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2023-06-07 03:54:10 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2023-06-13 04:48:56 +0200 |
commit | 11976fe2a47aa952b8fec54bc2bd54d57642f650 (patch) | |
tree | 4cd122a0864ab08b5591dc17fbc4a0f113d771a8 /arch/xtensa/include/asm/platform.h | |
parent | xtensa: drop platform_heartbeat (diff) | |
download | linux-11976fe2a47aa952b8fec54bc2bd54d57642f650.tar.xz linux-11976fe2a47aa952b8fec54bc2bd54d57642f650.zip |
xtensa: drop platform_restart
Instead of using xtensa-specific platform_restart callback use
do_kernel_restart in the machine_restart implementation and reimplement
existing platform_restart users with register_restart_handler.
Drop platform_restart declaration and default implementation.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/platform.h')
-rw-r--r-- | arch/xtensa/include/asm/platform.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/xtensa/include/asm/platform.h b/arch/xtensa/include/asm/platform.h index 3be6b4bf9763..5b3c1f96f7b5 100644 --- a/arch/xtensa/include/asm/platform.h +++ b/arch/xtensa/include/asm/platform.h @@ -28,11 +28,6 @@ extern void platform_init(bp_tag_t*); extern void platform_setup (char **); /* - * platform_restart is called to restart the system. - */ -extern void platform_restart (void); - -/* * platform_halt is called to stop the system and halt. */ extern void platform_halt (void); |