Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -53,6 +53,8 @@
#include <asm/lmb.h>
#include <asm/xmon.h>

#include "setup.h"

#undef DEBUG

#ifdef DEBUG
+6 −0
Original line number Diff line number Diff line
#ifndef _POWERPC_KERNEL_SETUP_H
#define _POWERPC_KERNEL_SETUP_H

void check_for_initrd(void);

#endif /* _POWERPC_KERNEL_SETUP_H */
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,8 @@
#include <asm/xmon.h>
#include <asm/time.h>

#include "setup.h"

#define DBG(fmt...)

#if defined CONFIG_KGDB
+2 −0
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@
#include <asm/xmon.h>
#include <asm/udbg.h>

#include "setup.h"

#ifdef DEBUG
#define DBG(fmt...) udbg_printf(fmt)
#else