Skip to content

Commit 280552b

Browse files
authored
Fix mov syntax
1 parent bbd4bb0 commit 280552b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common_x86_64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static __inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx){
129129
*ecx=cpuinfo[2];
130130
*edx=cpuinfo[3];
131131
#else
132-
__asm__ __volatile__("mov %%ecx, 0;"
132+
__asm__ __volatile__("mov $0, %%ecx;"
133133
"cpuid"
134134
: "=a" (*eax),
135135
"=b" (*ebx),

0 commit comments

Comments
 (0)