[PATCH] fix typo in sysdeps/unix/sysv/linux/x86_64/sys/io.h

H.J. Lu hjl.tools@gmail.com
Sat Jun 2 00:48:00 GMT 2012


On Fri, Jun 1, 2012 at 5:41 PM, Allan McRae <allan@archlinux.org> wrote:
> 2012-06-02  Allan McRae  <allan@archlinux.org>
>
>        * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw) fix typo
>
>
> diff --git a/sysdeps/unix/sysv/linux/x86_64/sys/io.h
> b/sysdeps/unix/sysv/linux/x86_64/sys/io.h
> index 534b6d3..ce9fd94 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));
>  }
>

I have checked in the same fix.

-- 
H.J.



More information about the Libc-alpha mailing list