]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: create kernel/setup.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 9 Nov 2005 00:01:06 +0000 (11:01 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 9 Nov 2005 00:35:26 +0000 (11:35 +1100)
for functions defined by setup-common.c and used in setup_xx.c

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/kernel/setup-common.c
arch/powerpc/kernel/setup.h [new file with mode: 0644]
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c

index 26bb1fe6384b4fd988c9a5476c446a7e9dcbcecb..17c46a2e356df1eb2b4954c19fc0c0041f78f1f2 100644 (file)
@@ -53,6 +53,8 @@
 #include <asm/lmb.h>
 #include <asm/xmon.h>
 
+#include "setup.h"
+
 #undef DEBUG
 
 #ifdef DEBUG
diff --git a/arch/powerpc/kernel/setup.h b/arch/powerpc/kernel/setup.h
new file mode 100644 (file)
index 0000000..2ebba75
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _POWERPC_KERNEL_SETUP_H
+#define _POWERPC_KERNEL_SETUP_H
+
+void check_for_initrd(void);
+
+#endif /* _POWERPC_KERNEL_SETUP_H */
index 0fbc73f7f8280bb48fd02740f960d5a2c5cdd671..55f485f78c007810a2a23edb3d453133f378528c 100644 (file)
@@ -40,6 +40,8 @@
 #include <asm/xmon.h>
 #include <asm/time.h>
 
+#include "setup.h"
+
 #define DBG(fmt...)
 
 #if defined CONFIG_KGDB
index 54c606f680b31b46678cd134159e25b72b21c686..fe39aac4f24dc76bd3cb44198c8161dcc4b84a04 100644 (file)
@@ -61,6 +61,8 @@
 #include <asm/xmon.h>
 #include <asm/udbg.h>
 
+#include "setup.h"
+
 #ifdef DEBUG
 #define DBG(fmt...) udbg_printf(fmt)
 #else