diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-10-13 16:25:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-10-13 16:25:46 +0000 |
commit | 6c5a700e82933afc2a55cc516af61e4d4e54bff2 (patch) | |
tree | 21efa1c630a55ed78e7269ad6a344ddcf76b21ce | |
parent | 99e46354d96d9dc70c7b5ae7ed1a3d7ff0dbb77f (diff) | |
download | glibc-6c5a700e82933afc2a55cc516af61e4d4e54bff2.tar.gz glibc-6c5a700e82933afc2a55cc516af61e4d4e54bff2.tar.xz glibc-6c5a700e82933afc2a55cc516af61e4d4e54bff2.zip |
Update.
* sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output parameter format string. (inline_outw): Likewise.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/ioperm.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index f22bb5c931..39daebc928 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1998-10-13 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output + parameter format string. + (inline_outw): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include string.h to get memcpy prototype and NULL definition. 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 (); } |