diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2023-06-07 04:54:10 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2023-06-13 05:48:56 +0300 |
commit | 11976fe2a47aa952b8fec54bc2bd54d57642f650 (patch) | |
tree | 4cd122a0864ab08b5591dc17fbc4a0f113d771a8 /arch/xtensa/include/asm | |
parent | 71a5fd7d89fb6e6071f041ba1b55837837ccddb8 (diff) | |
download | linux-11976fe2a47aa952b8fec54bc2bd54d57642f650.tar.xz |
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')
-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); |