diff options
-rw-r--r-- | procps/powertop.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/procps/powertop.c b/procps/powertop.c index 24c2b320f..18ddaa3ec 100644 --- a/procps/powertop.c +++ b/procps/powertop.c | |||
@@ -506,12 +506,9 @@ static void cpuid(unsigned int *eax, unsigned int *ebx, unsigned int *ecx, | |||
506 | { | 506 | { |
507 | /* EAX value specifies what information to return */ | 507 | /* EAX value specifies what information to return */ |
508 | asm ( | 508 | asm ( |
509 | " pushl %%ebx\n" /* Save EBX */ | ||
510 | " cpuid\n" | 509 | " cpuid\n" |
511 | " movl %%ebx, %1\n" /* Save content of EBX */ | ||
512 | " popl %%ebx\n" /* Restore EBX */ | ||
513 | : "=a"(*eax), /* Output */ | 510 | : "=a"(*eax), /* Output */ |
514 | "=r"(*ebx), | 511 | "=b"(*ebx), |
515 | "=c"(*ecx), | 512 | "=c"(*ecx), |
516 | "=d"(*edx) | 513 | "=d"(*edx) |
517 | : "0"(*eax), /* Input */ | 514 | : "0"(*eax), /* Input */ |