summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/util/u_cpu_detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_cpu_detect.c b/src/gallium/auxiliary/util/u_cpu_detect.c
index 70ce25cfcf..ded361ce70 100644
--- a/src/gallium/auxiliary/util/u_cpu_detect.c
+++ b/src/gallium/auxiliary/util/u_cpu_detect.c
@@ -346,7 +346,7 @@ cpuid(uint32_t ax, uint32_t *p)
"cpuid\n\t"
"xchgl %%ebx, %1"
: "=a" (p[0]),
- "=m" (p[1]),
+ "=S" (p[1]),
"=c" (p[2]),
"=d" (p[3])
: "0" (ax)