Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334786
b: refs/heads/master
c: bf86ad8
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and Konrad Rzeszutek Wilk committed Oct 19, 2012
1 parent eaed7a3 commit 90f5fec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e84fe8a138fb1aa7aec8ef2fafb312ea5eb0f3dd
refs/heads/master: bf86ad8095d4684ada0d37bb1355ede2c88a5e4e
4 changes: 4 additions & 0 deletions trunk/drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ struct irq_info {
#define PIRQ_SHAREABLE (1 << 1)

static int *evtchn_to_irq;
#ifdef CONFIG_X86
static unsigned long *pirq_eoi_map;
#endif
static bool (*pirq_needs_eoi)(unsigned irq);

static DEFINE_PER_CPU(unsigned long [NR_EVENT_CHANNELS/BITS_PER_LONG],
Expand Down Expand Up @@ -277,10 +279,12 @@ static unsigned int cpu_from_evtchn(unsigned int evtchn)
return ret;
}

#ifdef CONFIG_X86
static bool pirq_check_eoi_map(unsigned irq)
{
return test_bit(pirq_from_irq(irq), pirq_eoi_map);
}
#endif

static bool pirq_needs_eoi_flag(unsigned irq)
{
Expand Down

0 comments on commit 90f5fec

Please sign in to comment.