diff options
author | bde <bde@FreeBSD.org> | 2004-05-19 14:36:38 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-05-19 14:36:38 +0000 |
commit | eef4a496456d18eaa620744429e239336c1cc5fe (patch) | |
tree | 9bf5a6e0f655c3c875085d8f94a998e70c73b58d /sys/kern/link_elf.c | |
parent | 6b60cd9ef3c108d193820926d524d495d235c2f4 (diff) | |
download | FreeBSD-src-eef4a496456d18eaa620744429e239336c1cc5fe.zip FreeBSD-src-eef4a496456d18eaa620744429e239336c1cc5fe.tar.gz |
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.
Diffstat (limited to 'sys/kern/link_elf.c')
-rw-r--r-- | sys/kern/link_elf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c index a7b7a02..74a17a8 100644 --- a/sys/kern/link_elf.c +++ b/sys/kern/link_elf.c @@ -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> |