Re: [PATCH -mm] x86 boot : export boot_params via sysfs

Andrew Morton
2007-12-12T02:41:37Z

On Tue, 11 Dec 2007 16:49:09 +0000 "Huang, Ying" <ying.huang@intel.com> wrote:

> This patch export the boot parameters via sysfs. This can be used for
> debugging and kexec.
>
> The files added are as follow:
>
> /sys/kernel/boot_params/data : binary file for struct boot_params
> /sys/kernel/boot_params/version : boot protocol version

Your patch uses kobject_create_and_register() which was added in Greg's
driver tree as of 2.6.24-rc4-mm1.

However for some reason kobject_create_and_register() has magically vanished
from Greg's current driver tree so I cannot carry this patch, sorry.