From: H.J. Lu Date: Sat, 2 Jun 2012 00:43:26 +0000 (-0700) Subject: Fix a typo in x86_64 sys/io.h X-Git-Tag: glibc-2.16-tps~76 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=f34a1c6f5e40316196c45aec4415d582abb7ea79;p=glibc.git Fix a typo in x86_64 sys/io.h --- diff --git a/ChangeLog b/ChangeLog index 49daa0e352..4243e52b96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-06-01 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo. + 2012-06-01 Joseph Myers * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile diff --git a/sysdeps/unix/sysv/linux/x86_64/sys/io.h b/sysdeps/unix/sysv/linux/x86_64/sys/io.h index 534b6d3a09..ce9fd948b6 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sys/io.h +++ b/sysdeps/unix/sysv/linux/x86_64/sys/io.h @@ -165,7 +165,7 @@ static __inline void outsw (unsigned short int __port, const void *__addr, unsigned long int __count) { - __asm__ __volatile__ ("cld ; rep ; outsw":"=S" (____addr), "=c" (__count) + __asm__ __volatile__ ("cld ; rep ; outsw":"=S" (__addr), "=c" (__count) :"d" (__port), "0" (__addr), "1" (__count)); }