Use an explicit comparison with VM_GUEST_NO.
Reported by: jhb MFC with: r345359 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
64087fd7f3
commit
a4b59d3db6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345384
@ -319,7 +319,7 @@ dtrace_gethrtime_init(void *arg)
|
|||||||
int i;
|
int i;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (vm_guest)
|
if (vm_guest != VM_GUEST_NO)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* The current CPU is the reference one. */
|
/* The current CPU is the reference one. */
|
||||||
|
@ -321,7 +321,7 @@ dtrace_gethrtime_init(void *arg)
|
|||||||
int i;
|
int i;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (vm_guest)
|
if (vm_guest != VM_GUEST_NO)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* The current CPU is the reference one. */
|
/* The current CPU is the reference one. */
|
||||||
|
Loading…
Reference in New Issue
Block a user