WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix gcc4 build., Xen patchbot -unstable <=