public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] add init declaration to machvec.c
@ 2006-03-12 19:25 Chen, Kenneth W
  0 siblings, 0 replies; only message in thread
From: Chen, Kenneth W @ 2006-03-12 19:25 UTC (permalink / raw)
  To: linux-ia64

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;



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-12 19:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-12 19:25 [patch] add init declaration to machvec.c Chen, Kenneth W

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox