lkml.org 
[lkml]   [1999]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.118 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site