summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-05-29 14:19:51 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-05-29 14:19:51 +0000
commit9fbf631ea4d32275e2a0b73042a7f5c42b84dddf (patch)
tree35a6f3a16e30d51a8bcd59b8df375c0d878e41b0 /sys/arch/i386/include
parent3074148f150ad1764336ec65e48c9c96ac9404c9 (diff)
Kill SPINLOCK_SPIN_HOOK, use CPU_BUSY_CYCLE() instead.
ok visa@, kettenis@
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/lock.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/i386/include/lock.h b/sys/arch/i386/include/lock.h
index 6fcd36b1ec6..2ea630a634d 100644
--- a/sys/arch/i386/include/lock.h
+++ b/sys/arch/i386/include/lock.h
@@ -1,10 +1,8 @@
-/* $OpenBSD: lock.h,v 1.12 2016/04/03 11:05:26 jsg Exp $ */
+/* $OpenBSD: lock.h,v 1.13 2017/05/29 14:19:49 mpi Exp $ */
/* public domain */
#ifndef _MACHINE_LOCK_H_
#define _MACHINE_LOCK_H_
-#define SPINLOCK_SPIN_HOOK __asm volatile("pause": : :"memory")
-
#endif /* _MACHINE_LOCK_H_ */