Messages in this thread | | | Date | Mon, 1 Mar 1999 15:27:30 +0100 | From | Paul Slootman <> | Subject | Re: 2.2.2-ac4 does not build... |
| |
In article <m10GOb8-0007U1C@the-village.bc.nu> you write: >I think this fixes it > >--- drivers/net/3c509.c~ Fri Feb 26 01:55:06 1999 >+++ drivers/net/3c509.c Fri Feb 26 13:50:58 1999 >@@ -917,12 +917,12 @@ > cleanup_module(void) > { > struct device *next_dev; >- struct el3_private *lp = (struct el3_private *)dev->priv; > > /* No need to check MOD_IN_USE, as sys_delete_module() checks. */ > while (el3_root_dev) { >+ struct el3_private *lp = (struct el3_private *)el3_root_dev->priv; > mca_mark_as_unused(lp->mca_slot);
I also needed to wrap the above line in #ifdef CONFIG_MCA as mca_mark_as_unused is not included if you configure the kernel without MCA support.
There are also a couple of other locations where mca_mark_as_unused is used unconditionally.
Paul Slootman -- home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands
- 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/
| |