Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206131
b: refs/heads/master
c: 127c03c
h: refs/heads/master
i:
  206129: f48165f
  206127: e732535
v: v3
  • Loading branch information
Dominik Brodowski committed Aug 3, 2010
1 parent 9e329a4 commit a265fa9
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 0f52e86ded65749c6037473013ad77b2afa4f68d
refs/heads/master: 127c03cdbad9bd5af5d7f33bd31a1015a90cb77f
5 changes: 4 additions & 1 deletion trunk/drivers/pcmcia/pcmcia_resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ EXPORT_SYMBOL(__pcmcia_request_exclusive_irq);
#ifdef CONFIG_PCMCIA_PROBE

/* mask of IRQs already reserved by other cards, we should avoid using them */
static u8 pcmcia_used_irq[NR_IRQS];
static u8 pcmcia_used_irq[32];

static irqreturn_t test_action(int cpl, void *dev_id)
{
Expand All @@ -700,6 +700,9 @@ static int pcmcia_setup_isa_irq(struct pcmcia_device *p_dev, int type)
for (try = 0; try < 64; try++) {
irq = try % 32;

if (irq > NR_IRQS)
continue;

/* marked as available by driver, not blocked by userspace? */
if (!((mask >> irq) & 1))
continue;
Expand Down

0 comments on commit a265fa9

Please sign in to comment.