1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

Use an explicit comparison with VM_GUEST_NO.

Reported by:	jhb
MFC with:	r345359
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2019-03-21 20:07:50 +00:00
parent 64087fd7f3
commit a4b59d3db6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345384
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ dtrace_gethrtime_init(void *arg)
int i;
#endif
if (vm_guest)
if (vm_guest != VM_GUEST_NO)
return;
/* The current CPU is the reference one. */

View File

@ -321,7 +321,7 @@ dtrace_gethrtime_init(void *arg)
int i;
#endif
if (vm_guest)
if (vm_guest != VM_GUEST_NO)
return;
/* The current CPU is the reference one. */