It appears to be armv7_sleep is a duplication of armv7_cpu_sleep.
For consistency with the naming conventions used by the other implementations kill armv7_sleep and keep armv7_cpu_sleep. Differential Revision: https://reviews.freebsd.org/D2537 Submitted by: John Wehle Reviewed by: ian@, andrew@
This commit is contained in:
parent
7c3977ee20
commit
7623d151d8
@ -673,7 +673,7 @@ struct cpu_functions cortexa_cpufuncs = {
|
||||
cpufunc_nullop, /* flush_brnchtgt_C */
|
||||
(void *)cpufunc_nullop, /* flush_brnchtgt_E */
|
||||
|
||||
armv7_sleep, /* sleep */
|
||||
armv7_cpu_sleep, /* sleep */
|
||||
|
||||
/* Soft functions */
|
||||
|
||||
|
@ -366,9 +366,3 @@ ENTRY(armv7_idcache_inv_all)
|
||||
bx lr @ return
|
||||
END(armv7_idcache_inv_all)
|
||||
|
||||
ENTRY_NP(armv7_sleep)
|
||||
dsb
|
||||
wfi
|
||||
bx lr
|
||||
END(armv7_sleep)
|
||||
|
||||
|
@ -376,7 +376,6 @@ void armv7_setup (void);
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user