diff options
author | kib <kib@FreeBSD.org> | 2015-08-05 07:21:44 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-08-05 07:21:44 +0000 |
commit | 9428730d60c2668836c55e3ba688233695b2ddad (patch) | |
tree | 4c5885e719c8e45996b51e5a65e18711a1ded8f8 /sys/cddl/dev/dtrace | |
parent | 861d78f2a3cbb714d3930a5d2e820c252bfbaf1d (diff) | |
download | FreeBSD-src-9428730d60c2668836c55e3ba688233695b2ddad.zip FreeBSD-src-9428730d60c2668836c55e3ba688233695b2ddad.tar.gz |
MFC r285041:
Use single instance of the identical INKERNEL() and PMC_IN_KERNEL()
macros on amd64 and i386. On i386, correct the lowest kernel address.
Diffstat (limited to 'sys/cddl/dev/dtrace')
-rw-r--r-- | sys/cddl/dev/dtrace/i386/dtrace_isa.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/cddl/dev/dtrace/i386/dtrace_isa.c b/sys/cddl/dev/dtrace/i386/dtrace_isa.c index 6c261bf..04f205c 100644 --- a/sys/cddl/dev/dtrace/i386/dtrace_isa.c +++ b/sys/cddl/dev/dtrace/i386/dtrace_isa.c @@ -47,9 +47,6 @@ extern uintptr_t kernbase; uintptr_t kernelbase = (uintptr_t) &kernbase; -#define INKERNEL(va) (((vm_offset_t)(va)) >= USRSTACK && \ - ((vm_offset_t)(va)) < VM_MAX_KERNEL_ADDRESS) - uint8_t dtrace_fuword8_nocheck(void *); uint16_t dtrace_fuword16_nocheck(void *); uint32_t dtrace_fuword32_nocheck(void *); |