Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146808
b: refs/heads/master
c: 3709ab8
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed May 26, 2009
1 parent a06abb0 commit 9c87948
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 8fc40238b4ebf07cd11ca9707843338be22af72f
refs/heads/master: 3709ab8dfa23cab553ea9ffea3372c8e0a28f332
4 changes: 2 additions & 2 deletions trunk/arch/sh/kernel/cpu/irq/imask.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ static inline void set_interrupt_registers(int ip)

static void mask_imask_irq(unsigned int irq)
{
clear_bit(irq, &imask_mask);
clear_bit(irq, imask_mask);
if (interrupt_priority < IMASK_PRIORITY - irq)
interrupt_priority = IMASK_PRIORITY - irq;
set_interrupt_registers(interrupt_priority);
}

static void unmask_imask_irq(unsigned int irq)
{
set_bit(irq, &imask_mask);
set_bit(irq, imask_mask);
interrupt_priority = IMASK_PRIORITY -
find_first_zero_bit(imask_mask, IMASK_PRIORITY);
set_interrupt_registers(interrupt_priority);
Expand Down

0 comments on commit 9c87948

Please sign in to comment.