Remove unused function cpu_boot()
The prototype was added with the creation of kern_shutdown.c in r17658, but it appears to have never been implemented. Remove it now. Reviewed by: cem, kib Differential Revision: https://reviews.freebsd.org/D26702
This commit is contained in:
parent
c2ebbb5572
commit
6debfd4b13
@ -668,7 +668,6 @@ shutdown_reset(void *junk, int howto)
|
||||
spinlock_enter();
|
||||
#endif
|
||||
|
||||
/* cpu_boot(howto); */ /* doesn't do anything at the moment */
|
||||
cpu_reset();
|
||||
/* NOTREACHED */ /* assuming reset worked */
|
||||
}
|
||||
|
@ -268,7 +268,6 @@ void *phashinit_flags(int count, struct malloc_type *type, u_long *nentries,
|
||||
int flags);
|
||||
void g_waitidle(void);
|
||||
|
||||
void cpu_boot(int);
|
||||
void cpu_flush_dcache(void *, size_t);
|
||||
void cpu_rootconf(void);
|
||||
void critical_enter_KBI(void);
|
||||
|
@ -193,17 +193,6 @@ SYSCTL_BOOL(_machdep, OID_AUTO, mwait_cpustop_broken, CTLFLAG_RDTUN,
|
||||
&mwait_cpustop_broken, 0,
|
||||
"Can not reliably wake MONITOR/MWAIT cpus without interrupts");
|
||||
|
||||
/*
|
||||
* Machine dependent boot() routine
|
||||
*
|
||||
* I haven't seen anything to put here yet
|
||||
* Possibly some stuff might be grafted back here from boot()
|
||||
*/
|
||||
void
|
||||
cpu_boot(int howto)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Flush the D-cache for non-DMA I/O so that the I-cache can
|
||||
* be made coherent later.
|
||||
|
Loading…
Reference in New Issue
Block a user