From b72b7ea19384b7b3bd1b78716955deafcc2c5285 Mon Sep 17 00:00:00 2001 From: t_jeang Date: Tue, 6 Jan 2009 12:05:56 +0000 Subject: [PATCH] imported patch fix-section-mismatches --- drivers/xen/core/smpboot.c | 2 +- scripts/mod/modpost.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/xen/core/smpboot.c b/drivers/xen/core/smpboot.c index 5b31d1f4..cd005f69 100644 --- a/drivers/xen/core/smpboot.c +++ b/drivers/xen/core/smpboot.c @@ -378,7 +378,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) #endif } -void __devinit smp_prepare_boot_cpu(void) +void __init smp_prepare_boot_cpu(void) { prefill_possible_map(); } diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 1c9ad489..557ab1e9 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -958,7 +958,9 @@ static int init_section_ref_ok(const char *name) /* Start of section names */ const char *namelist2[] = { ".init.", + ".pci_fixup", ".altinstructions", + ".smp_alternatives", ".eh_frame", ".debug", NULL @@ -1021,6 +1023,7 @@ static int exit_section_ref_ok(const char *name) ".opd", /* See comment [OPD] */ ".toc1", /* used by ppc64 */ ".altinstructions", + ".smp_alternatives", ".pdr", "__bug_table", /* used by powerpc for BUG() */ ".exitcall.exit", -- 2.39.5