aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-13 16:26:14 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-13 16:26:14 +0000
commit045e48121fc838638528da1a1bcc6b08d95ca91e (patch)
tree848f05323ba3fe7aaa86778ddca9ac8348c48e45
parentca1d03cf31cf25dec4fb9fc9b19429d90644a1a2 (diff)
downloadglibc-045e48121fc838638528da1a1bcc6b08d95ca91e.tar
glibc-045e48121fc838638528da1a1bcc6b08d95ca91e.tar.gz
glibc-045e48121fc838638528da1a1bcc6b08d95ca91e.tar.bz2
glibc-045e48121fc838638528da1a1bcc6b08d95ca91e.zip
(inline_outb): Fix output parameter format string.
(inline_outw): Likewise.
-rw-r--r--sysdeps/unix/sysv/linux/alpha/ioperm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/ioperm.c b/sysdeps/unix/sysv/linux/alpha/ioperm.c
index 83c4ec21ac..bd642e33c8 100644
--- a/sysdeps/unix/sysv/linux/alpha/ioperm.c
+++ b/sysdeps/unix/sysv/linux/alpha/ioperm.c
@@ -206,7 +206,7 @@ inline_outb (unsigned char b, unsigned long int port, iosys_t iosys)
unsigned long int addr = port_to_cpu_addr (port, iosys, 1);
inline_sethae (0, iosys);
- asm ("insbl %2,%1,%0" : "r=" (w) : "ri" (port & 0x3), "r" (b));
+ asm ("insbl %2,%1,%0" : "=r" (w) : "ri" (port & 0x3), "r" (b));
*(vuip)addr = w;
mb ();
}
@@ -219,7 +219,7 @@ inline_outw (unsigned short int b, unsigned long int port, iosys_t iosys)
unsigned long int addr = port_to_cpu_addr (port, iosys, 2);
inline_sethae (0, iosys);
- asm ("inswl %2,%1,%0" : "r=" (w) : "ri" (port & 0x3), "r" (b));
+ asm ("inswl %2,%1,%0" : "=r" (w) : "ri" (port & 0x3), "r" (b));
*(vuip)addr = w;
mb ();
}