From de23f040592d590c09a158ec7fc00d33e7ec78fa Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 3 May 2004 14:10:17 +0000 Subject: fix up asm --- src/redhat-support-check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redhat-support-check.c b/src/redhat-support-check.c index 03b91a6a..e115b57f 100644 --- a/src/redhat-support-check.c +++ b/src/redhat-support-check.c @@ -49,7 +49,7 @@ static inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx) #if defined(__x86_64__) static inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx) { - __asm__("cpuid" + __asm__("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" : "=a"(*eax), "=r"(*ebx), "=c"(*ecx), "=d"(*edx) : "0" (op)); } -- cgit v1.2.1