[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [RFC 24/38] x86/boot: export command line processing
Export the function cmdline_cook() so that it can be called outside of setup.c. Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx> --- xen/arch/x86/include/asm/setup.h | 2 ++ xen/arch/x86/setup.c | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/x86/include/asm/setup.h b/xen/arch/x86/include/asm/setup.h index b517da6144de..4b8fbdc67e05 100644 --- a/xen/arch/x86/include/asm/setup.h +++ b/xen/arch/x86/include/asm/setup.h @@ -29,6 +29,8 @@ void init_IRQ(void); struct boot_domain; int construct_dom0(struct boot_domain *bd); +const char *cmdline_cook(const char *p, const char *loader_name); + void setup_io_bitmap(struct domain *d); extern struct boot_info xen_boot_info; diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 760262ea3d4c..0c9f1cd98faa 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -291,8 +291,6 @@ static int __init cf_check parse_acpi_param(const char *s) } custom_param("acpi", parse_acpi_param); -static const char *cmdline_cook(const char *p, const char *loader_name); - struct boot_info __initdata xen_boot_info = { .loader = "unknown", .cmdline = "", @@ -950,7 +948,7 @@ static bool __init loader_is_grub2(const char *loader_name) * * Always returns a pointer within @p. */ -static const char *__init cmdline_cook(const char *p, const char *loader_name) +const char *__init cmdline_cook(const char *p, const char *loader_name) { /* Strip leading whitespace. */ while ( *p == ' ' ) -- 2.30.2
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |