diff options
-rw-r--r-- | include/asm-x86/processor_32.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-x86/processor_32.h b/include/asm-x86/processor_32.h index 3845fe72383e..38cc1061487e 100644 --- a/include/asm-x86/processor_32.h +++ b/include/asm-x86/processor_32.h | |||
@@ -595,7 +595,9 @@ static inline void load_esp0(struct tss_struct *tss, struct thread_struct *threa | |||
595 | * clear %ecx since some cpus (Cyrix MII) do not set or clear %ecx | 595 | * clear %ecx since some cpus (Cyrix MII) do not set or clear %ecx |
596 | * resulting in stale register contents being returned. | 596 | * resulting in stale register contents being returned. |
597 | */ | 597 | */ |
598 | static inline void cpuid(unsigned int op, unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx) | 598 | static inline void cpuid(unsigned int op, |
599 | unsigned int *eax, unsigned int *ebx, | ||
600 | unsigned int *ecx, unsigned int *edx) | ||
599 | { | 601 | { |
600 | *eax = op; | 602 | *eax = op; |
601 | *ecx = 0; | 603 | *ecx = 0; |
@@ -603,8 +605,9 @@ static inline void cpuid(unsigned int op, unsigned int *eax, unsigned int *ebx, | |||
603 | } | 605 | } |
604 | 606 | ||
605 | /* Some CPUID calls want 'count' to be placed in ecx */ | 607 | /* Some CPUID calls want 'count' to be placed in ecx */ |
606 | static inline void cpuid_count(int op, int count, int *eax, int *ebx, int *ecx, | 608 | static inline void cpuid_count(unsigned int op, int count, |
607 | int *edx) | 609 | unsigned int *eax, unsigned int *ebx, |
610 | unsigned int *ecx, unsigned int *edx) | ||
608 | { | 611 | { |
609 | *eax = op; | 612 | *eax = op; |
610 | *ecx = count; | 613 | *ecx = count; |