Re: procfs bug (was: Re: bttv (or PCI subsystem?) still broken in

From: Russell King (rmk@arm.linux.org.uk)
Date: Sun May 14 2000 - 03:32:39 EST


Alan Cox writes:
> > So put the initialization of driver after the procfs one. It's not a
> > problem in procfs, it's problem in the driver. It has no business
> > registering the stuff in procfs before the thing is initialized, to start
> > with.
>
> Looks like procfs is initialised way too late then. I think procfs is the
> one that needs moving, not all the drivers. In order to meet these
> requirements in fact procfs must be initialised before basically any block or
> char driver.

Alan & Al,

Please see my fs/Makefile patch posted earlier on this subject that re-orders
the initcall order to fix this problem.
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | Russell King rmk@arm.linux.org.uk --- ---
  | | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
  | +-+-+ --- -+-
  / | THE developer of ARM Linux |+| /|\
 / | | | --- |
    +-+-+ ------------------------------------------------- /\\\ |

-
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/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:24 EST