summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-05-03 12:31:19 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-05-03 12:31:19 (GMT)
commit17b6e43ab63fe9681ca559dae1e3c5f88250d1dc (patch)
tree1af98744597d706e888e17d56f9a96c61450f14d /unix/tclUnixCompat.c
parentd0da70e413195ed6e2c110ba82a91bf1cf2ea8b3 (diff)
parent9e55c0ea10ac43020d3b84df0bfd14183f9ce755 (diff)
downloadtcl-17b6e43ab63fe9681ca559dae1e3c5f88250d1dc.zip
tcl-17b6e43ab63fe9681ca559dae1e3c5f88250d1dc.tar.gz
tcl-17b6e43ab63fe9681ca559dae1e3c5f88250d1dc.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 d9d5052..f582c0c 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -826,7 +826,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;