summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-05-03 11:42:31 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-05-03 11:42:31 (GMT)
commit9e55c0ea10ac43020d3b84df0bfd14183f9ce755 (patch)
tree0fe7c3557422b4961634ae6cb04385ba56531d6e /unix/tclUnixCompat.c
parent266e802451e2fd0df0f70805be78ddea584e3cd2 (diff)
downloadtcl-9e55c0ea10ac43020d3b84df0bfd14183f9ce755.zip
tcl-9e55c0ea10ac43020d3b84df0bfd14183f9ce755.tar.gz
tcl-9e55c0ea10ac43020d3b84df0bfd14183f9ce755.tar.bz2
Move cpuid testcase from win-specific to generic tests
Simplify stub tables for functions which work on both UNIX and windows
Diffstat (limited to 'unix/tclUnixCompat.c')
-rw-r--r--unix/tclUnixCompat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixCompat.c b/unix/tclUnixCompat.c
index 6e2666b..71bd846 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -698,7 +698,7 @@ TclWinCPUID(
"mov %%ebx, %%esi \n\t" /* save what cpuid just put in %ebx */
"mov %%edi, %%ebx \n\t" /* restore the old %ebx */
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
- : "a"(index));
+ : "a"(index) : "edi");
status = TCL_OK;
#endif
return status;