summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 13:10:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 13:10:09 (GMT)
commitf693213b4dade6f73baf86ae13b2129be2ed0ad1 (patch)
tree8a428c23c89df13b9d208f9c8b7194e6a8a331de /unix/tclUnixCompat.c
parent73dd8c4da919ada224a43fccf582ae5eb5d05d86 (diff)
parentb9ecc426358d3737357f0460caee4eae5be61a3a (diff)
downloadtcl-f693213b4dade6f73baf86ae13b2129be2ed0ad1.zip
tcl-f693213b4dade6f73baf86ae13b2129be2ed0ad1.tar.gz
tcl-f693213b4dade6f73baf86ae13b2129be2ed0ad1.tar.bz2
Move cpuid testcase from win-specific to generic tests
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 792d6da..3818121 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -996,7 +996,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;