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-ppc-devel

[XenPPC] [pushed][ppc] evtchn_upcall_pending need to be unsigned log for

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed][ppc] evtchn_upcall_pending need to be unsigned log for bitops
From: jimix@xxxxxxxxxxxxxx
Date: Mon, 27 Mar 2006 16:56:24 -0500
Delivery-date: Mon, 27 Mar 2006 21:55:55 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   22039:aaab77f6d562
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Thu Mar 23 16:42:35 2006 -0500
summary:     [ppc] evtchn_upcall_pending need to be unsigned log for bitops

diff -r 05a141988d9e -r aaab77f6d562 include/xen/interface/xen.h
--- a/include/xen/interface/xen.h       Thu Mar 23 16:41:49 2006 -0500
+++ b/include/xen/interface/xen.h       Thu Mar 23 16:42:35 2006 -0500
@@ -312,7 +312,11 @@ typedef struct vcpu_info {
      * an upcall activation. The mask is cleared when the VCPU requests
      * to block: this avoids wakeup-waiting races.
      */
-    uint8_t evtchn_upcall_pending;
+#if defined(__powerpc__)
+    unsigned long evtchn_upcall_pending;
+#else
+     uint8_t evtchn_upcall_pending;
+#endif
     uint8_t evtchn_upcall_mask;
     unsigned long evtchn_pending_sel;
     arch_vcpu_info_t arch;



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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed][ppc] evtchn_upcall_pending need to be unsigned log for bitops, jimix <=