mirror of git://sourceware.org/git/glibc.git
Update.
* sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output parameter format string. (inline_outw): Likewise.
This commit is contained in:
parent
99e46354d9
commit
6c5a700e82
|
|
@ -1,5 +1,9 @@
|
||||||
1998-10-13 Ulrich Drepper <drepper@cygnus.com>
|
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
|
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
|
||||||
string.h to get memcpy prototype and NULL definition.
|
string.h to get memcpy prototype and NULL definition.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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);
|
unsigned long int addr = port_to_cpu_addr (port, iosys, 1);
|
||||||
|
|
||||||
inline_sethae (0, iosys);
|
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;
|
*(vuip)addr = w;
|
||||||
mb ();
|
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);
|
unsigned long int addr = port_to_cpu_addr (port, iosys, 2);
|
||||||
|
|
||||||
inline_sethae (0, iosys);
|
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;
|
*(vuip)addr = w;
|
||||||
mb ();
|
mb ();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue