summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include/cpufunc.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-11-25 18:27:07 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-11-25 18:27:07 +0000
commit86a41fb41ca29e4c9e99ea8f1aaf730568e031fc (patch)
tree28a0ebee62825231ad3004728866b7914cbdd484 /sys/arch/hppa/include/cpufunc.h
parent9b984c9910159513cb63dc9bc4f6e06747221d93 (diff)
'+' vs '=','0' constraints
Diffstat (limited to 'sys/arch/hppa/include/cpufunc.h')
-rw-r--r--sys/arch/hppa/include/cpufunc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/hppa/include/cpufunc.h b/sys/arch/hppa/include/cpufunc.h
index 092dde027c1..8fae94d70db 100644
--- a/sys/arch/hppa/include/cpufunc.h
+++ b/sys/arch/hppa/include/cpufunc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpufunc.h,v 1.10 1999/08/12 18:45:33 mickey Exp $ */
+/* $OpenBSD: cpufunc.h,v 1.11 1999/11/25 18:27:06 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -126,8 +126,8 @@ ficache(pa_space_t sp, vaddr_t va, vsize_t size)
mtsp(sp, 1);
while (va < eva)
- __asm __volatile ("fic,m %2(%%sr1, %1)"
- : "=r" (va): "0" (va), "r" (icache_stride));
+ __asm __volatile ("fic,m %1(%%sr1, %0)"
+ : "+r" (va) : "r" (icache_stride));
}
static __inline void
@@ -138,8 +138,8 @@ fdcache(pa_space_t sp, vaddr_t va, vsize_t size)
mtsp(sp, 1);
while (va < eva)
- __asm __volatile ("fdc,m %2(%%sr1, %1)"
- : "=r" (va): "0" (va), "r" (dcache_stride));
+ __asm __volatile ("fdc,m %1(%%sr1, %0)"
+ : "+r" (va) : "r" (dcache_stride));
}
static __inline void