[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Call a module's init function only after the module is succe
From: |
Pavel Roskin |
Subject: |
Re: [PATCH] Call a module's init function only after the module is successfully added |
Date: |
Wed, 22 Jul 2009 14:25:14 -0400 |
On Wed, 2009-07-22 at 19:36 +0200, Robert Millan wrote:
> On Tue, Jul 21, 2009 at 04:02:48PM -0400, Pavel Roskin wrote:
> >
> > By the way, kern/dl.c have some unused functions (grub_dl_unload_all).
>
> grub_machine_fini() used to rely on this, but at some point we concluded it
> wasn't useful to change machine state when loading an OS, other than things
> specific to each particular loader.
As I said, I missed calls in *.S files. grub_linux16_boot() and
grub_chainloader_real_boot() still use it. Perhaps they shouldn't.
--
Regards,
Pavel Roskin