summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include/macros.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 14:00:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 14:00:15 +0000
commit2b3d1887ac6c72f8273969f0b739fb622d7c5c0e (patch)
treec90edaf98be0ac57bce4fdb458db3a33b29b2294 /sys/arch/vax/include/macros.h
parentc4387b4bfda4a8a4d6c2042c6936055ac302dba8 (diff)
update from netbsd
Diffstat (limited to 'sys/arch/vax/include/macros.h')
-rw-r--r--sys/arch/vax/include/macros.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/vax/include/macros.h b/sys/arch/vax/include/macros.h
index 9b1bf44c026..969735a6640 100644
--- a/sys/arch/vax/include/macros.h
+++ b/sys/arch/vax/include/macros.h
@@ -1,4 +1,4 @@
-/* $NetBSD: macros.h,v 1.5 1995/10/20 12:55:06 ragge Exp $ */
+/* $NetBSD: macros.h,v 1.6 1995/12/13 18:56:01 ragge Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -176,15 +176,6 @@ static __inline__ int max(int a, int b){
}
#endif
-#define waitabit(tid) \
-({ \
- asm __volatile ("mfpr $27,r0;addl2 %0,r0;1:;mfpr $27,r1; \
- cmpl r0,r1;bneq 1b;" \
- : \
- : "g"(tid) \
- : "r0","r1"); \
-})
-
static __inline__ void blkcpy(const void*from, void*to, u_int len) {
asm __volatile("
movl %0,r1