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

[XenPPC] [pushed]in the case of event_pending() we need to know if the event is deliverable



changeset:   9653:f54c3813a5f7
parent:      9457:fd4dd4cdacbe
parent:      9652:347b0f87cbd3
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Mon Mar 27 13:53:57 2006 -0500
summary:     in the case of event_pending() we need to know if the event is 
deliverable

diff -r fd4dd4cdacbe -r f54c3813a5f7 xen/include/xen/sched.h
--- a/xen/include/xen/sched.h   Fri Mar 24 17:50:52 2006 -0500
+++ b/xen/include/xen/sched.h   Mon Mar 27 13:53:57 2006 -0500
@@ -14,6 +14,10 @@
 #include <xen/grant_table.h>
 #include <xen/rangeset.h>
 #include <asm/domain.h>
+
+#ifndef arch_event_deliverable
+#define arch_event_deliverable (1)
+#endif
 
 extern unsigned long volatile jiffies;
 extern rwlock_t domlist_lock;
@@ -318,8 +322,8 @@ unsigned long hypercall_create_continuat
     unsigned int op, const char *format, ...);
 
 #define hypercall_preempt_check() (unlikely(    \
-        softirq_pending(smp_processor_id()) |   \
-        event_pending(current)                  \
+        softirq_pending(smp_processor_id()) | \
+        (event_pending(current) & arch_event_deliverable)  \
     ))
 
 /* This domain_hash and domain_list are protected by the domlist_lock. */



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


 


Rackspace

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