From: Ulrich Drepper Date: Tue, 13 Oct 1998 16:26:14 +0000 (+0000) Subject: (inline_outb): Fix output parameter format string. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=045e48121fc838638528da1a1bcc6b08d95ca91e;p=thirdparty%2Fglibc.git (inline_outb): Fix output parameter format string. (inline_outw): Likewise. --- diff --git a/sysdeps/unix/sysv/linux/alpha/ioperm.c b/sysdeps/unix/sysv/linux/alpha/ioperm.c index 83c4ec21ac8..bd642e33c80 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 (); }