Index: sys/arm/arm/cpufunc.c =================================================================== --- sys/arm/arm/cpufunc.c +++ sys/arm/arm/cpufunc.c @@ -673,7 +673,7 @@ cpufunc_nullop, /* flush_brnchtgt_C */ (void *)cpufunc_nullop, /* flush_brnchtgt_E */ - armv7_sleep, /* sleep */ + armv7_cpu_sleep, /* sleep */ /* Soft functions */ Index: sys/arm/arm/cpufunc_asm_armv7.S =================================================================== --- sys/arm/arm/cpufunc_asm_armv7.S +++ sys/arm/arm/cpufunc_asm_armv7.S @@ -366,9 +366,3 @@ bx lr @ return END(armv7_idcache_inv_all) -ENTRY_NP(armv7_sleep) - dsb - wfi - bx lr -END(armv7_sleep) - Index: sys/arm/include/cpufunc.h =================================================================== --- sys/arm/include/cpufunc.h +++ sys/arm/include/cpufunc.h @@ -376,7 +376,6 @@ void armv7_context_switch (void); void armv7_drain_writebuf (void); void armv7_sev (void); -void armv7_sleep (int unused); u_int armv7_auxctrl (u_int, u_int); void armadaxp_idcache_wbinv_all (void);