diff options
author | Bill Nottingham <notting@redhat.com> | 2004-05-03 14:10:17 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-05-03 14:10:17 +0000 |
commit | de23f040592d590c09a158ec7fc00d33e7ec78fa (patch) | |
tree | 6ce51c503ecad3b16b7f865dd75766e3dfc876ac /src | |
parent | 0a442217af9b0e8e946a9bfe5df65074e11b5c12 (diff) | |
download | initscripts-de23f040592d590c09a158ec7fc00d33e7ec78fa.tar initscripts-de23f040592d590c09a158ec7fc00d33e7ec78fa.tar.gz initscripts-de23f040592d590c09a158ec7fc00d33e7ec78fa.tar.bz2 initscripts-de23f040592d590c09a158ec7fc00d33e7ec78fa.tar.xz initscripts-de23f040592d590c09a158ec7fc00d33e7ec78fa.zip |
fix up asm
Diffstat (limited to 'src')
-rw-r--r-- | src/redhat-support-check.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |