Include <sys/gmon.h> instead of <machine/profile.h> for the declaration
of kmupetext(). The declaration is misplaced in <machine/profile.h> since it is not MD and not related to the lowest level of profiling. It will be moved, but getting it via <sys/gmon.h> already works.
This commit is contained in:
parent
8805006db5
commit
f1c4edf4d7
@ -32,6 +32,9 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#ifdef GPROF
|
||||
#include <sys/gmon.h>
|
||||
#endif
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mac.h>
|
||||
@ -44,9 +47,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <machine/elf.h>
|
||||
#ifdef GPROF
|
||||
#include <machine/profile.h>
|
||||
#endif
|
||||
|
||||
#include <vm/vm.h>
|
||||
#include <vm/vm_param.h>
|
||||
|
Loading…
Reference in New Issue
Block a user