Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63001
b: refs/heads/master
c: 4fc0938
h: refs/heads/master
i:
  62999: 9a366ce
v: v3
  • Loading branch information
Hirokazu Takata authored and Linus Torvalds committed Jul 26, 2007
1 parent 05f9d09 commit ef2c175
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 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: b5445f956ec3c8c19b760775e9ff92a160e3a167
refs/heads/master: 4fc09385c79fa95e97365d33de9b4e046d680b94
5 changes: 3 additions & 2 deletions trunk/arch/m32r/kernel/setup_mappi.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ static void mask_and_ack_mappi(unsigned int irq)

static void end_mappi_irq(unsigned int irq)
{
enable_mappi_irq(irq);
if (!(irq_desc[irq].status & (IRQ_DISABLED | IRQ_INPROGRESS)))
enable_mappi_irq(irq);
}

static unsigned int startup_mappi_irq(unsigned int irq)
Expand Down Expand Up @@ -88,7 +89,7 @@ void __init init_IRQ(void)
irq_desc[M32R_IRQ_INT0].chip = &mappi_irq_type;
irq_desc[M32R_IRQ_INT0].action = NULL;
irq_desc[M32R_IRQ_INT0].depth = 1;
icu_data[M32R_IRQ_INT0].icucr = M32R_ICUCR_IEN|M32R_ICUCR_ISMOD10;
icu_data[M32R_IRQ_INT0].icucr = M32R_ICUCR_IEN|M32R_ICUCR_ISMOD11;
disable_mappi_irq(M32R_IRQ_INT0);
#endif /* CONFIG_M32R_NE2000 */

Expand Down
9 changes: 0 additions & 9 deletions trunk/drivers/net/lib8390.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,6 @@ static void ei_tx_timeout(struct net_device *dev)
int txsr, isr, tickssofar = jiffies - dev->trans_start;
unsigned long flags;

#if defined(CONFIG_M32R) && defined(CONFIG_SMP)
unsigned long icucr;

local_irq_save(flags);
icucr = inl(M32R_ICU_CR1_PORTL);
icucr |= M32R_ICUCR_ISMOD11;
outl(icucr, M32R_ICU_CR1_PORTL);
local_irq_restore(flags);
#endif
ei_local->stat.tx_errors++;

spin_lock_irqsave(&ei_local->page_lock, flags);
Expand Down

0 comments on commit ef2c175

Please sign in to comment.