Move the declaration for mpentry() into a header file instead of pasting
it into a bunch of different .c files. Remove declarations for the unused mptramp() function from everywhere except AramadaXP (and I think it's really not used there either, because the code that references it appears to be insanely does-nothing in nature).
This commit is contained in:
parent
a75a785aef
commit
aab6f7ed9a
@ -15,6 +15,7 @@
|
||||
#define IPI_TLB 7
|
||||
|
||||
void init_secondary(int cpu);
|
||||
void mpentry(void);
|
||||
|
||||
void ipi_all_but_self(u_int ipi);
|
||||
void ipi_cpu(int cpu, u_int ipi);
|
||||
|
@ -96,7 +96,6 @@ platform_mp_init_secondary(void)
|
||||
{
|
||||
}
|
||||
|
||||
void mpentry(void);
|
||||
void mptramp(void);
|
||||
|
||||
|
||||
|
@ -39,9 +39,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#define EXYNOS_SYSRAM 0x02020000
|
||||
|
||||
void mpentry(void);
|
||||
void mptramp(void);
|
||||
|
||||
void
|
||||
platform_mp_init_secondary(void)
|
||||
{
|
||||
|
@ -38,9 +38,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <arm/ti/ti_smc.h>
|
||||
#include <arm/ti/omap4/omap4_smc.h>
|
||||
|
||||
void mpentry(void);
|
||||
void mptramp(void);
|
||||
|
||||
void
|
||||
platform_mp_init_secondary(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user