[PATCH 2/2] firmware/memmap: Move kobject initialisation before kobject_add()
Bernhard Walle
bwalle at suse.de
Wed Jul 30 16:14:24 EDT 2008
* Bernhard Walle <bwalle at suse.de> [2008-07-30 22:12]:
>
> Because kobject_init() call could be done from firmware_map_add_entry()
> which is called before kmalloc() can be used (we use the early bootmem allocator
> here), move that call to memmap_init() which is a late_initcall.
You can leave out that patch now since kobject_init() was adapted with
the other patch ... But I think it would still make sense to include
that one.
Bernhard
--
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development
More information about the kexec
mailing list