summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-11-14 22:14:23 +0000
committerMatt Wilson <msw@redhat.com>2002-11-14 22:14:23 +0000
commit7daa532ddbe8454ee2a807f2b83772069b8b07c9 (patch)
tree7404ab583885fa9ac5644982eabb253d63a759a3 /isys
parent09c6817243858774216a040b1d75b5c3fe38759c (diff)
downloadanaconda-7daa532ddbe8454ee2a807f2b83772069b8b07c9.tar.gz
anaconda-7daa532ddbe8454ee2a807f2b83772069b8b07c9.tar.xz
anaconda-7daa532ddbe8454ee2a807f2b83772069b8b07c9.zip
fix inline asm argument types (#72306)
Diffstat (limited to 'isys')
-rw-r--r--isys/smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isys/smp.c b/isys/smp.c
index 1ddda330b..45e87955b 100644
--- a/isys/smp.c
+++ b/isys/smp.c
@@ -550,8 +550,8 @@ static int intelDetectSMP(void)
static inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx)
{
__asm__("pushl %%ebx; cpuid; movl %%ebx,%1; popl %%ebx"
- : "=a"(*eax), "=g"(*ebx), "=&c"(*ecx), "=&d"(*edx)
- : "a" (op));
+ : "=a"(*eax), "=r"(*ebx), "=c"(*ecx), "=d"(*edx)
+ : "0" (op));
}
/* XXX: rewrite using /proc/cpuinfo info if it there. Only fall