Skip to contentSkip to conversation

add init declaration to machvec.c

PATCH New Chen, Kenneth W 1 participant 1 message Mar 12, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add init declaration to machvec.c

Add init declaration to machvec initialization functions.

---

Now I'm totally convinced that Ken is extremely bored at the moment ;-)

arch/ia64/kernel/machvec.c renamed from arch/ia64/kernel/machvec.c.orig +2 -2
@@ -14,7 +14,7 @@
 struct ia64_machine_vector ia64_mv;
 EXPORT_SYMBOL(ia64_mv);
 
-static struct ia64_machine_vector *
+static struct ia64_machine_vector * __init
 lookup_machvec (const char *name)
 {
 	extern struct ia64_machine_vector machvec_start[];
@@ -28,7 +28,7 @@ lookup_machvec (const char *name)
 	return 0;
 }
 
-void
+void __init
 machvec_init (const char *name)
 {
 	struct ia64_machine_vector *mv;