diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-06-02 18:05:10 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-07-16 17:24:51 -0400 |
commit | d3ab78560b9a244bdb2ba2ef0e53193832d311c2 (patch) | |
tree | 4c954f958c265d5c1bfc9dd42f06a26129a66386 | |
parent | 6fc53bae3d5940f1b123afa5ad082359b1a376be (diff) |
kbuild: remove hardcoded apic_es7000 from modpost
Replace the hardcoded variable name apic_es7000 in modpost
with a __initdata_refok marker.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | arch/i386/mach-generic/es7000.c | 2 | ||||
-rw-r--r-- | 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 b47f951c0ec2..4742626f08c4 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) | |||
66 | } | 66 | } |
67 | #endif | 67 | #endif |
68 | 68 | ||
69 | struct genapic apic_es7000 = APIC_INIT("es7000", probe_es7000); | 69 | struct genapic __initdata_refok apic_es7000 = APIC_INIT("es7000", probe_es7000); |
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 7f5ff7e0a0f3..1921c43f3a3e 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, | |||
647 | "_probe", | 647 | "_probe", |
648 | "_probe_one", | 648 | "_probe_one", |
649 | "_console", | 649 | "_console", |
650 | "apic_es7000", | ||
651 | NULL | 650 | NULL |
652 | }; | 651 | }; |
653 | 652 | ||