diff options
author | njl <njl@FreeBSD.org> | 2005-05-19 05:22:52 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-05-19 05:22:52 +0000 |
commit | 167f11ed429d7829f7f786933a1c747ae614cd20 (patch) | |
tree | e4b8984452fee4a65f5be5312a39f90aef185403 /sys | |
parent | 5faad03639d33fa6cffddba82fb1e6c97b94dd6c (diff) | |
download | FreeBSD-src-167f11ed429d7829f7f786933a1c747ae614cd20.zip FreeBSD-src-167f11ed429d7829f7f786933a1c747ae614cd20.tar.gz |
Fix low res profiling kernel build. Move two defines to collapse the
#ifdef GUPROF case.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/isa/prof_machdep.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/i386/isa/prof_machdep.c b/sys/i386/isa/prof_machdep.c index 41c361a..677ff0f 100644 --- a/sys/i386/isa/prof_machdep.c +++ b/sys/i386/isa/prof_machdep.c @@ -27,12 +27,16 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include <sys/param.h> +#include <sys/systm.h> + +#include <machine/asmacros.h> +#include <machine/timerreg.h> + #ifdef GUPROF #include "opt_i586_guprof.h" #include "opt_perfmon.h" -#include <sys/param.h> -#include <sys/systm.h> #include <sys/gmon.h> #include <sys/kernel.h> #include <sys/sysctl.h> @@ -41,12 +45,7 @@ __FBSDID("$FreeBSD$"); #include <machine/perfmon.h> #include <machine/profile.h> #undef MCOUNT -#endif - -#include <machine/asmacros.h> -#include <machine/timerreg.h> -#ifdef GUPROF #define CPUTIME_CLOCK_UNINITIALIZED 0 #define CPUTIME_CLOCK_I8254 1 #define CPUTIME_CLOCK_TSC 2 |