[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix gcc4 build.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 646edff074752a5c943a361efda800ff521be9d5
# Parent  70024ebbdf55585230fa7656ea79ecb2960779c5
Fix gcc4 build.

Signed-off-by: Steve Dobbelstein <steved@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 70024ebbdf55 -r 646edff07475 xen/include/asm-x86/processor.h
--- a/xen/include/asm-x86/processor.h   Tue Feb 14 19:17:26 2006
+++ b/xen/include/asm-x86/processor.h   Tue Feb 14 21:36:22 2006
@@ -213,15 +213,17 @@
             : "0" (_op), "2" (0))
 
 /* Some CPUID calls want 'count' to be placed in ecx */
-static inline void cpuid_count(int op, int count, int *eax, int *ebx, int *ecx,
-               int *edx)
-{
-       __asm__("cpuid"
-               : "=a" (*eax),
-                 "=b" (*ebx),
-                 "=c" (*ecx),
-                 "=d" (*edx)
-               : "0" (op), "c" (count));
+static inline void cpuid_count(
+    int op,
+    int count,
+    unsigned int *eax,
+    unsigned int *ebx,
+    unsigned int *ecx,
+    unsigned int *edx)
+{
+    __asm__("cpuid"
+            : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx)
+            : "0" (op), "c" (count));
 }
 
 /*

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.