diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2018-11-05 21:34:17 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2018-11-05 21:34:17 +0000 |
| commit | 4cbbb748880ba32a72944ff5ef8a51ec5cfab6b1 (patch) | |
| tree | 7c7e79024804745c02472683ad32ad645c043ce0 /sys/i386 | |
| parent | b25c717954b929e80064b59d5e0d340731bf484d (diff) | |
Notes
Diffstat (limited to 'sys/i386')
| -rw-r--r-- | sys/i386/include/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h index 8cd94fa7e1ff..e154fb16c227 100644 --- a/sys/i386/include/cpu.h +++ b/sys/i386/include/cpu.h @@ -50,6 +50,7 @@ #define cpu_getstack(td) ((td)->td_frame->tf_esp) #define cpu_setstack(td, ap) ((td)->td_frame->tf_esp = (ap)) #define cpu_spinwait() ia32_pause() +#define cpu_lock_delay() DELAY(1) #define TRAPF_USERMODE(framep) \ ((ISPL((framep)->tf_cs) == SEL_UPL) || ((framep)->tf_eflags & PSL_VM)) |
