diff options
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r-- | drivers/net/sky2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index 2253140ff4dc..f56de9894208 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c | |||
@@ -1961,10 +1961,11 @@ static irqreturn_t sky2_intr(int irq, void *dev_id, struct pt_regs *regs) | |||
1961 | if (status & Y2_IS_STAT_BMU) { | 1961 | if (status & Y2_IS_STAT_BMU) { |
1962 | hw->intr_mask &= ~Y2_IS_STAT_BMU; | 1962 | hw->intr_mask &= ~Y2_IS_STAT_BMU; |
1963 | sky2_write32(hw, B0_IMSK, hw->intr_mask); | 1963 | sky2_write32(hw, B0_IMSK, hw->intr_mask); |
1964 | prefetch(&hw->st_le[hw->st_idx]); | ||
1965 | 1964 | ||
1966 | if (netif_rx_schedule_test(dev0)) | 1965 | if (likely(__netif_rx_schedule_prep(dev0))) { |
1966 | prefetch(&hw->st_le[hw->st_idx]); | ||
1967 | __netif_rx_schedule(dev0); | 1967 | __netif_rx_schedule(dev0); |
1968 | } | ||
1968 | } | 1969 | } |
1969 | 1970 | ||
1970 | if (status & Y2_IS_IRQ_PHY1) | 1971 | if (status & Y2_IS_IRQ_PHY1) |