Replace the hardcoded variable name apic_es7000 in modpost with a __initdata_refok marker. Signed-off-by: Sam Ravnborg <[email protected]> --- arch/i386/mach-generic/es7000.c | 2 +- scripts/mod/modpost.c | 1 - 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/i386/mach-generic/es7000.c b/arch/i386/mach-generic/es7000.c index b47f951..4742626 100644 --- a/arch/i386/mach-generic/es7000.c +++ b/arch/i386/mach-generic/es7000.c @@ -66,4 +66,4 @@ static int __init acpi_madt_oem_check(char *oem_id, char *oem_table_id) } #endif -struct genapic apic_es7000 = APIC_INIT("es7000", probe_es7000); +struct genapic __initdata_refok apic_es7000 = APIC_INIT("es7000", probe_es7000); diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 7f5ff7e..1921c43 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -647,7 +647,6 @@ static int secref_whitelist(const char *modname, const char *tosec, "_probe", "_probe_one", "_console", - "apic_es7000", NULL }; -- 1.5.0.6 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH 20/33] kbuild: remove hardcoded _logo names from modpost
- From: Sam Ravnborg <[email protected]>
- [PATCH 20/33] kbuild: remove hardcoded _logo names from modpost
- References:
- [PATCH 01/33] kbuild: asm-offsets.h is now cleaned with O=.. builds
- From: Sam Ravnborg <[email protected]>
- [PATCH 02/33] kbuild: New 'cc-fullversion' macro
- From: Sam Ravnborg <[email protected]>
- [PATCH 03/33] powerpc: Refuse to build 64-bit with GCC-4.2.0 and CONFIG_MODULES
- From: Sam Ravnborg <[email protected]>
- [PATCH 04/33] kbuild: document cc-fullversion
- From: Sam Ravnborg <[email protected]>
- [PATCH 05/33] kbuild: avoid environment to set variables used by kbuild
- From: Sam Ravnborg <[email protected]>
- [PATCH 07/33] kconfig: use POSIX equality test in check-lxdialog.sh
- From: Sam Ravnborg <[email protected]>
- [PATCH 08/33] kbuild: add support for reading stdin with gen_init_cpio
- From: Sam Ravnborg <[email protected]>
- [PATCH 09/33] kbuild: add support for squashing uid/gid in gen_initramfs_list.sh
- From: Sam Ravnborg <[email protected]>
- [PATCH 10/33] kconfig: fix update-po-config
- From: Sam Ravnborg <[email protected]>
- [PATCH 11/33] kbuild: make better section mismatch reports on i386 and mips
- From: Sam Ravnborg <[email protected]>
- [PATCH 12/33] kbuild: make better section mismatch reports on arm
- From: Sam Ravnborg <[email protected]>
- [PATCH 13/33] kbuild: suppress modpost warnings for references from the .toc section as used by powerpc
- From: Sam Ravnborg <[email protected]>
- [PATCH 14/33] kbuild: .paravirtprobe section is obsolete, so modpost doesn't need to handle it
- From: Sam Ravnborg <[email protected]>
- [PATCH 15/33] kbuild: ignore section mismatch warnings originating from .note section
- From: Sam Ravnborg <[email protected]>
- [PATCH 16/33] kbuild: refactor code in modpost to improve maintainability
- From: Sam Ravnborg <[email protected]>
- [PATCH 17/33] kbuild: consolidate section checks
- From: Sam Ravnborg <[email protected]>
- [PATCH 18/33] kbuild: warn about references from .init.text to .exit.text
- From: Sam Ravnborg <[email protected]>
- [PATCH 01/33] kbuild: asm-offsets.h is now cleaned with O=.. builds
- Prev by Date: [PATCH 18/33] kbuild: warn about references from .init.text to .exit.text
- Next by Date: [PATCH 14/33] kbuild: .paravirtprobe section is obsolete, so modpost doesn't need to handle it
- Previous by thread: [PATCH 18/33] kbuild: warn about references from .init.text to .exit.text
- Next by thread: [PATCH 20/33] kbuild: remove hardcoded _logo names from modpost
- Index(es):