summaryrefslogtreecommitdiff
path: root/include/linux/init.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-25 03:07:39 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 08:22:56 -0800
commit77d47582c2345e071df02afaf9191641009287c4 (patch)
treeb166b485024deed48add518bc60bf54e5f08a592 /include/linux/init.h
parentf348d70a324e15afc701a494f32ec468abb7d1eb (diff)
downloadlinux-3.10-77d47582c2345e071df02afaf9191641009287c4.tar.gz
linux-3.10-77d47582c2345e071df02afaf9191641009287c4.tar.bz2
linux-3.10-77d47582c2345e071df02afaf9191641009287c4.zip
[PATCH] add a proper prototype for setup_arch()
This patch adds a proper prototype for setup_arch() in init.h. This patch is based on a patch by Ben Dooks <ben-linux@fluff.org>. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/init.h')
-rw-r--r--include/linux/init.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/init.h b/include/linux/init.h
index ff8d8b8632f..ed0ac7c39fd 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -69,6 +69,10 @@ extern initcall_t __security_initcall_start[], __security_initcall_end[];
/* Defined in init/main.c */
extern char saved_command_line[];
+
+/* used by init/main.c */
+extern void setup_arch(char **);
+
#endif
#ifndef MODULE