From 71a5fd7d89fb6e6071f041ba1b55837837ccddb8 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Tue, 6 Jun 2023 17:43:47 -0700 Subject: xtensa: drop platform_heartbeat platform_heartbeat is called from the timer interrupt handler, but there may be no periodic timer interrupts on xtensa, so the frequency of platform_heartbeat calls may be unrelated to HZ. Drop the callback and reimplement its only user with a timer. Signed-off-by: Max Filippov --- arch/xtensa/include/asm/platform.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'arch/xtensa/include') diff --git a/arch/xtensa/include/asm/platform.h b/arch/xtensa/include/asm/platform.h index 354ca942de40..3be6b4bf9763 100644 --- a/arch/xtensa/include/asm/platform.h +++ b/arch/xtensa/include/asm/platform.h @@ -47,11 +47,6 @@ extern void platform_power_off (void); */ extern void platform_idle (void); -/* - * platform_heartbeat is called every HZ - */ -extern void platform_heartbeat (void); - /* * platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE) */ -- cgit v1.2.3