Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93160
b: refs/heads/master
c: ee8fa1c
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Apr 24, 2008
1 parent d5a8cc6 commit 0df56e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ee523ca1e456d754d66be6deab910131e4e1dbf8
refs/heads/master: ee8fa1c67f0b873a324960f0ca9fa1d7e49aa86b
8 changes: 7 additions & 1 deletion trunk/arch/x86/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,10 +601,16 @@ static void ack_dynirq(unsigned int irq)
static int retrigger_dynirq(unsigned int irq)
{
int evtchn = evtchn_from_irq(irq);
struct shared_info *sh = HYPERVISOR_shared_info;
int ret = 0;

if (VALID_EVTCHN(evtchn)) {
set_evtchn(evtchn);
int masked;

masked = sync_test_and_set_bit(evtchn, sh->evtchn_mask);
sync_set_bit(evtchn, sh->evtchn_pending);
if (!masked)
unmask_evtchn(evtchn);
ret = 1;
}

Expand Down

0 comments on commit 0df56e2

Please sign in to comment.