mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 09:31:50 +00:00
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/xmon.h>
|
||||
|
||||
#include "setup.h"
|
||||
|
||||
#undef 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/time.h>
|
||||
|
||||
#include "setup.h"
|
||||
|
||||
#define DBG(fmt...)
|
||||
|
||||
#if defined CONFIG_KGDB
|
||||
|
@ -61,6 +61,8 @@
|
||||
#include <asm/xmon.h>
|
||||
#include <asm/udbg.h>
|
||||
|
||||
#include "setup.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DBG(fmt...) udbg_printf(fmt)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user