Skip to content

Commit

Permalink
kbuild: remove hardcoded apic_es7000 from modpost
Browse files Browse the repository at this point in the history
Replace the hardcoded variable name apic_es7000 in modpost
with a __initdata_refok marker.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Sam Ravnborg committed Jul 16, 2007
1 parent 6fc53ba commit d3ab785
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion arch/i386/mach-generic/es7000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
1 change: 0 additions & 1 deletion scripts/mod/modpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,6 @@ static int secref_whitelist(const char *modname, const char *tosec,
"_probe",
"_probe_one",
"_console",
"apic_es7000",
NULL
};

Expand Down

0 comments on commit d3ab785

Please sign in to comment.