From f34a1c6f5e40316196c45aec4415d582abb7ea79 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 1 Jun 2012 17:43:26 -0700 Subject: [PATCH] Fix a typo in x86_64 sys/io.h --- ChangeLog | 4 ++++ sysdeps/unix/sysv/linux/x86_64/sys/io.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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)); } -- 2.11.4.GIT