From 7daa532ddbe8454ee2a807f2b83772069b8b07c9 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Thu, 14 Nov 2002 22:14:23 +0000 Subject: fix inline asm argument types (#72306) --- isys/smp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'isys') 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 -- cgit