summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/isa/pcaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/pcaudio.c b/sys/i386/isa/pcaudio.c
index 65a5755..9f51d1b 100644
--- a/sys/i386/isa/pcaudio.c
+++ b/sys/i386/isa/pcaudio.c
@@ -191,9 +191,9 @@ conv(const void *table, void *buff, unsigned int n)
"\tinc %2\n"
"\tdec %1\n"
"\tjnz 1b\n"
- :
- :"b" (table), "c" (n), "D" (buff), "a" ((char)n)
- :"bx","cx","di","ax");
+ : "=b" (table), "=c" (n), "=D" (buff), "=a" ((char)n) /*all dummies*/
+ : "0" (table), "1" (n), "2" (buff), "3" ((char)n)
+ /* clobber list covered by matching out/in registers */ );
}
OpenPOWER on IntegriCloud