ibmtr.c minipatch

Jochen Friedrich (jochen+linux-kernel@scram.de)
Fri, 22 Jan 1999 22:38:58 +0100 (CET)


Hi there,

this fixes an Ooops when TR_VERBOSE is defined.

Cheers,
Jochen

*** ibmtr.c.orig Fri Jan 22 16:15:58 1999
--- ibmtr.c Fri Jan 22 18:43:57 1999
***************
*** 801,810 ****
struct tok_info *ti;
struct device *dev;

#if TR_VERBOSE
DPRINTK("Int from tok_driver, dev : %p\n",dev);
#endif
- dev = dev_id;
ti = (struct tok_info *) dev->priv;

/* Disable interrupts till processing is finished */
--- 801,810 ----
struct tok_info *ti;
struct device *dev;

+ dev = dev_id;
#if TR_VERBOSE
DPRINTK("Int from tok_driver, dev : %p\n",dev);
#endif
ti = (struct tok_info *) dev->priv;

/* Disable interrupts till processing is finished */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/