diff options
author | YU Jincheng | 2021-09-29 17:37:26 +0800 |
---|---|---|
committer | Denys Vlasenko | 2021-10-07 15:22:35 +0200 |
commit | 1f925038ab9c6bd8f6b3cd40ed7aab0ef10d898e (patch) | |
tree | a625455a60081738812f469de6a02010f0c5b252 /procps | |
parent | 17e6fb06b3d36eae11575b226858e8474e2b46d3 (diff) | |
download | busybox-1f925038ab9c6bd8f6b3cd40ed7aab0ef10d898e.zip busybox-1f925038ab9c6bd8f6b3cd40ed7aab0ef10d898e.tar.gz |
*: generalize "const trick"
While at it, change all "__asm__" to "asm"
Co-authored-by: canyie <31466456+canyie@users.noreply.github.com>
Signed-off-by: YU Jincheng <shana@zju.edu.cn>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r-- | procps/powertop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/powertop.c b/procps/powertop.c index fc6018b..24c2b32 100644 --- a/procps/powertop.c +++ b/procps/powertop.c @@ -505,7 +505,7 @@ static void cpuid(unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx) { /* EAX value specifies what information to return */ - __asm__( + asm ( " pushl %%ebx\n" /* Save EBX */ " cpuid\n" " movl %%ebx, %1\n" /* Save content of EBX */ |