ia64/xen-unstable

changeset 8850:646edff07475

Fix gcc4 build.

Signed-off-by: Steve Dobbelstein <steved@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Feb 14 22:36:22 2006 +0100 (2006-02-14)
parents 70024ebbdf55
children ee6f025fb264
files xen/include/asm-x86/processor.h
line diff
     1.1 --- a/xen/include/asm-x86/processor.h	Tue Feb 14 20:17:26 2006 +0100
     1.2 +++ b/xen/include/asm-x86/processor.h	Tue Feb 14 22:36:22 2006 +0100
     1.3 @@ -213,15 +213,17 @@ static always_inline void detect_ht(stru
     1.4              : "0" (_op), "2" (0))
     1.5  
     1.6  /* Some CPUID calls want 'count' to be placed in ecx */
     1.7 -static inline void cpuid_count(int op, int count, int *eax, int *ebx, int *ecx,
     1.8 -	       	int *edx)
     1.9 +static inline void cpuid_count(
    1.10 +    int op,
    1.11 +    int count,
    1.12 +    unsigned int *eax,
    1.13 +    unsigned int *ebx,
    1.14 +    unsigned int *ecx,
    1.15 +    unsigned int *edx)
    1.16  {
    1.17 -	__asm__("cpuid"
    1.18 -		: "=a" (*eax),
    1.19 -		  "=b" (*ebx),
    1.20 -		  "=c" (*ecx),
    1.21 -		  "=d" (*edx)
    1.22 -		: "0" (op), "c" (count));
    1.23 +    __asm__("cpuid"
    1.24 +            : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx)
    1.25 +            : "0" (op), "c" (count));
    1.26  }
    1.27  
    1.28  /*