* [PATCH 16/19] kbuild: remove hardcoded apic_es7000 from modpost
@ 2007-06-03 20:48 Sam Ravnborg
0 siblings, 0 replies; only message in thread
From: Sam Ravnborg @ 2007-06-03 20:48 UTC (permalink / raw)
To: LKML, Andrew Morton, kbuild-devel
Subject: [PATCH 16/19] kbuild: remove hardcoded apic_es7000 from modpost
From: Sam Ravnborg <sam@ravnborg.org>
Date: Sun, 3 Jun 2007 00:05:10 +0200
Replace the hardcoded variable name apic_es7000 in modpost
with a __initdata_refok marker.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
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 0f9130f..877ed0c 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -657,7 +657,6 @@ static int secref_whitelist(const char *modname, const char *tosec,
"_probe",
"_probe_one",
"_console",
- "apic_es7000",
NULL
};
--
1.5.1.rc3.1544.g8a923
----- End forwarded message -----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-03 20:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-03 20:48 [PATCH 16/19] kbuild: remove hardcoded apic_es7000 from modpost Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®