Re: [2.6 patch] kill drive_info
From: Adrian Bunk
Date: Wed Jul 14 2004 - 22:01:47 EST
On Wed, Jul 14, 2004 at 11:01:59AM +0200, Andries Brouwer wrote:
>...
> > - drive_info = DRIVE_INFO;
>
> Hmm. setup.c copies this info from where it was left after booting
> to some safe place. You seem to think that this saving is not required.
> Is it not?
- boot_params is __initdata
- hd_init in legacy/hd.c is __init
- legacy/hd.c can't be built modular
Did I miss something?
The situation is different in 2.4 where the new (possibly modular) IDE
driver also uses drive_info .
> Andries
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/