diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-14 14:09:42 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-14 14:09:42 -0800 |
commit | 0b493ec43fc34ce6268e11c20e25fc9438198564 (patch) | |
tree | 915d759248112cd6268e51bf4ddae0b7a0ffd62e /com32/sysdump | |
parent | 3eefc9d3f7c9ada3d75fc0c7ef564feb0d6d3eea (diff) | |
download | syslinux-0b493ec43fc34ce6268e11c20e25fc9438198564.tar.gz |
sysdump: don't force cpuid() to be inlined
The compiler can usually decide that better than we can...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/sysdump')
-rw-r--r-- | com32/sysdump/cpuid.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/com32/sysdump/cpuid.c b/com32/sysdump/cpuid.c index 5bfd4f01..ac80f229 100644 --- a/com32/sysdump/cpuid.c +++ b/com32/sysdump/cpuid.c @@ -39,8 +39,7 @@ static bool has_eflag(uint32_t flag) return !!((f0^f1) & flag); } -static inline void get_cpuid(uint32_t eax, uint32_t ecx, - struct cpuid_data *data) +static void get_cpuid(uint32_t eax, uint32_t ecx, struct cpuid_data *data) { asm("pushl %%ebx ; cpuid ; movl %%ebx,%1 ; popl %%ebx" : "=a" (data->eax), "=r" (data->ebx), |