[patch] add init declaration to machvec.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add init declaration to machvec initialization functions.


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

---

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;


-
: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux