diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-08-12 18:45:34 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-08-12 18:45:34 +0000 |
commit | 75b469e57b062abe418002c5a2b6f6ad9d6c835e (patch) | |
tree | f78acbef73bc5cd3ff5d4877175bdc44a86a45b7 /sys | |
parent | a455ebb2cb45ba7873f9da07e49cec5a6d52b4c8 (diff) |
fix asm() modifiers
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/include/cpufunc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/cpufunc.h b/sys/arch/hppa/include/cpufunc.h index 73e1921fd94..092dde027c1 100644 --- a/sys/arch/hppa/include/cpufunc.h +++ b/sys/arch/hppa/include/cpufunc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpufunc.h,v 1.9 1999/05/22 00:16:42 mickey Exp $ */ +/* $OpenBSD: cpufunc.h,v 1.10 1999/08/12 18:45:33 mickey Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -89,7 +89,7 @@ static __inline u_int ldsid(vaddr_t p) { static __inline u_int mtsm(u_int mask) { register u_int ret; __asm __volatile("ssm 0,%0\n\t" - "mtsm %1": "=r" (ret) : "r" (mask)); + "mtsm %1": "=&r" (ret) : "r" (mask)); return ret; } |