Commit 66ba135c authored by Stephen Rothwell's avatar Stephen Rothwell

powerpc: create kernel/setup.h

for functions defined by setup-common.c and used in setup_xx.c
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
parent fca5dcd4
...@@ -53,6 +53,8 @@ ...@@ -53,6 +53,8 @@
#include <asm/lmb.h> #include <asm/lmb.h>
#include <asm/xmon.h> #include <asm/xmon.h>
#include "setup.h"
#undef DEBUG #undef DEBUG
#ifdef DEBUG #ifdef DEBUG
......
#ifndef _POWERPC_KERNEL_SETUP_H
#define _POWERPC_KERNEL_SETUP_H
void check_for_initrd(void);
#endif /* _POWERPC_KERNEL_SETUP_H */
...@@ -40,6 +40,8 @@ ...@@ -40,6 +40,8 @@
#include <asm/xmon.h> #include <asm/xmon.h>
#include <asm/time.h> #include <asm/time.h>
#include "setup.h"
#define DBG(fmt...) #define DBG(fmt...)
#if defined CONFIG_KGDB #if defined CONFIG_KGDB
......
...@@ -61,6 +61,8 @@ ...@@ -61,6 +61,8 @@
#include <asm/xmon.h> #include <asm/xmon.h>
#include <asm/udbg.h> #include <asm/udbg.h>
#include "setup.h"
#ifdef DEBUG #ifdef DEBUG
#define DBG(fmt...) udbg_printf(fmt) #define DBG(fmt...) udbg_printf(fmt)
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment