diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1994-12-01 08:00:00 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1994-12-01 08:00:00 +0000 |
commit | 90ecc248e200fee448001248dde0ca540dd3ef64 (patch) | |
tree | a3fe89494ce63b4835f0f9cf5c45e74cde88252b /drivers/net/sk_g16.c | |
parent | 1513ff9b7899ab588401c89db0e99903dbf5f886 (diff) |
Import of Linux/MIPS 1.1.68
Diffstat (limited to 'drivers/net/sk_g16.c')
-rw-r--r-- | drivers/net/sk_g16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sk_g16.c b/drivers/net/sk_g16.c index f6f427525..acdce289f 100644 --- a/drivers/net/sk_g16.c +++ b/drivers/net/sk_g16.c @@ -1312,7 +1312,7 @@ static int SK_send_packet(struct sk_buff *skb, struct device *dev) static void SK_interrupt(int reg_ptr) { - int irq = - (((struct pt_regs *)reg_ptr)->orig_eax+2); + int irq = pt_regs2irq(reg_ptr); int csr0; struct device *dev = (struct device *) irq2dev_map[irq]; struct priv *p = (struct priv *) dev->priv; |