Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99663
b: refs/heads/master
c: 680afbf
h: refs/heads/master
i:
  99661: 62941db
  99659: 007b79a
  99655: 041de59
  99647: 6924be0
v: v3
  • Loading branch information
Pavel Machek authored and Thomas Gleixner committed May 24, 2008
1 parent c2c5b6e commit 5494649
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 3e8631d27088f394b6788829e238a60bf07d47ab
refs/heads/master: 680afbf989d697b9ba1382017a73c8cfa53b3f89
8 changes: 4 additions & 4 deletions trunk/arch/x86/kernel/i8259.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ static inline int i8259A_irq_real(unsigned int irq)
int irqmask = 1<<irq;

if (irq < 8) {
outb(0x0B,PIC_MASTER_CMD); /* ISR register */
outb(0x0B, PIC_MASTER_CMD); /* ISR register */
value = inb(PIC_MASTER_CMD) & irqmask;
outb(0x0A,PIC_MASTER_CMD); /* back to the IRR register */
outb(0x0A, PIC_MASTER_CMD); /* back to the IRR register */
return value;
}
outb(0x0B,PIC_SLAVE_CMD); /* ISR register */
outb(0x0B, PIC_SLAVE_CMD); /* ISR register */
value = inb(PIC_SLAVE_CMD) & (irqmask >> 8);
outb(0x0A,PIC_SLAVE_CMD); /* back to the IRR register */
outb(0x0A, PIC_SLAVE_CMD); /* back to the IRR register */
return value;
}

Expand Down

0 comments on commit 5494649

Please sign in to comment.