From: t_jeang Date: Tue, 6 Jan 2009 12:05:56 +0000 (+0000) Subject: imported patch fix-section-mismatches X-Git-Tag: vsyscall-avoid-rebuild X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b72b7ea19384b7b3bd1b78716955deafcc2c5285;p=xenclient%2Fkernel.git imported patch fix-section-mismatches --- 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",