diff options
Diffstat (limited to 'isys/smp.c')
-rw-r--r-- | isys/smp.c | 4 |
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 |