Directly include needed headers rather than relying on pollution.
We get machine/cpu.h via kmem.h -> proc.h -> _vm_domain.h -> seq.h. Reported by: Ryan Libby Sponsored by: Dell EMC Isilon X-MFC with: r313841
This commit is contained in:
parent
55c2f9636a
commit
b12a88ae0f
@ -41,7 +41,9 @@
|
||||
#include <sys/dtrace_impl.h>
|
||||
#include <sys/dtrace_bsd.h>
|
||||
#include <machine/clock.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#include <machine/frame.h>
|
||||
#include <machine/psl.h>
|
||||
#include <vm/pmap.h>
|
||||
|
||||
extern void dtrace_getnanotime(struct timespec *tsp);
|
||||
|
@ -42,7 +42,9 @@
|
||||
#include <sys/dtrace_impl.h>
|
||||
#include <sys/dtrace_bsd.h>
|
||||
#include <machine/clock.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#include <machine/frame.h>
|
||||
#include <machine/psl.h>
|
||||
#include <vm/pmap.h>
|
||||
|
||||
extern uintptr_t kernelbase;
|
||||
|
Loading…
Reference in New Issue
Block a user