diff options
author | Ray-V <ray-v@inbox.lv> | 2023-08-06 21:05:03 +0100 |
---|---|---|
committer | Ray-V <ray-v@inbox.lv> | 2023-08-06 21:05:03 +0100 |
commit | 02323df78a7c9ef1e1d533d95e2abf6db6dd9ac6 (patch) | |
tree | ee7a576927c8a960f3337c8cf6615ad3e6974e45 | |
parent | 4aae9b72d7164684622eab039f82833d02d3ce7a (diff) | |
download | k9copy-02323df78a7c9ef1e1d533d95e2abf6db6dd9ac6.tar.gz k9copy-02323df78a7c9ef1e1d533d95e2abf6db6dd9ac6.zip |
Fix clang build failure for cputest
Signed-off-by: Ray-V <ray-v@inbox.lv>
-rw-r--r-- | k9vamps/cputest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/k9vamps/cputest.cpp b/k9vamps/cputest.cpp index c26cd3e..a7cd686 100644 --- a/k9vamps/cputest.cpp +++ b/k9vamps/cputest.cpp @@ -21,9 +21,9 @@ /* ebx saving is necessary for PIC. gcc seems unable to see it alone */ #define cpuid(index,eax,ebx,ecx,edx)\ __asm __volatile\ - ("mov %%"REG_b", %%"REG_S"\n\t"\ + ("mov %%" REG_b ", %%" REG_S "\n\t"\ "cpuid\n\t"\ - "xchg %%"REG_b", %%"REG_S\ + "xchg %%" REG_b ", %%" REG_S\ : "=a" (eax), "=S" (ebx),\ "=c" (ecx), "=d" (edx)\ : "0" (index)); |