From 11976fe2a47aa952b8fec54bc2bd54d57642f650 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Tue, 6 Jun 2023 18:54:10 -0700 Subject: 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 --- arch/xtensa/include/asm/platform.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'arch/xtensa/include/asm/platform.h') 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 @@ -27,11 +27,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. */ -- cgit v1.2.3