Fix compilation with gcc.
etext is already declared in machine/cpu.h, move kernphys declaration there too. Based on the patch by: bde MFC after: 13 days
This commit is contained in:
parent
406bc0da95
commit
ac97ccbab5
@ -7562,8 +7562,6 @@ pmap_pti_free_page(vm_page_t m)
|
||||
return (true);
|
||||
}
|
||||
|
||||
extern char kernphys[], etext[];
|
||||
|
||||
static void
|
||||
pmap_pti_init(void)
|
||||
{
|
||||
|
@ -70,6 +70,7 @@ struct cpu_ops {
|
||||
extern struct cpu_ops cpu_ops;
|
||||
extern char btext[];
|
||||
extern char etext[];
|
||||
extern char kernphys[];
|
||||
|
||||
/* Resume hook for VMM. */
|
||||
extern void (*vmm_resume_p)(void);
|
||||
|
Loading…
Reference in New Issue
Block a user