[patch] add init declaration to machvec.c

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2006-03-13 06:25:26
Add init declaration to machvec initialization functions.


Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>

---

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


--- ./arch/ia64/kernel/machvec.c.orig	2006-03-12 12:17:01.700322457 -0800
+++ ./arch/ia64/kernel/machvec.c	2006-03-12 12:17:23.556767502 -0800
@@ -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;


-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Mar 13 06:25:59 2006

This archive was generated by hypermail 2.1.8 : 2006-03-13 06:26:07 EST