aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/machvec.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2007-05-10 11:57:58 -0700
committerTony Luck <tony.luck@intel.com>2007-05-10 11:57:58 -0700
commit9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb (patch)
treecfce92682cf62c5632a6ee61a2b7cec426edb1bc /arch/ia64/kernel/machvec.c
parent[IA64] more warning cleanups (diff)
downloadlinux-dev-9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb.tar.xz
linux-dev-9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb.zip
[IA64] Fix - Section mismatch: reference to .init.data:mvec_name
machvec_init() should be __init. And then so should hwsw_init(). Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/machvec.c')
-rw-r--r--arch/ia64/kernel/machvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/machvec.c b/arch/ia64/kernel/machvec.c
index 9620822270a6..13df337508e7 100644
--- a/arch/ia64/kernel/machvec.c
+++ b/arch/ia64/kernel/machvec.c
@@ -35,7 +35,7 @@ lookup_machvec (const char *name)
return 0;
}
-void
+void __init
machvec_init (const char *name)
{
struct ia64_machine_vector *mv;