powerpc: create kernel/setup.h
for functions defined by setup-common.c and used in setup_xx.c Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
This commit is contained in:
parent
fca5dcd483
commit
66ba135c5a
@ -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
|
||||||
|
6
arch/powerpc/kernel/setup.h
Normal file
6
arch/powerpc/kernel/setup.h
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#ifndef _POWERPC_KERNEL_SETUP_H
|
||||||
|
#define _POWERPC_KERNEL_SETUP_H
|
||||||
|
|
||||||
|
void check_for_initrd(void);
|
||||||
|
|
||||||
|
#endif /* _POWERPC_KERNEL_SETUP_H */
|
@ -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 @@
|
|||||||
#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
|
||||||
|
Loading…
Reference in New Issue
Block a user