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

Commit 718fc13b authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Ingo Molnar
Browse files

x86: move debug related declarations to kdebug.h



Move them and fixup some users.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c9ff0342
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -26,6 +26,7 @@
#include <asm/proto.h>
#include <asm/proto.h>
#include <asm/setup.h>
#include <asm/setup.h>
#include <asm/sections.h>
#include <asm/sections.h>
#include <asm/kdebug.h>


struct e820map e820;
struct e820map e820;


+1 −0
Original line number Original line Diff line number Diff line
@@ -19,6 +19,7 @@
#include <asm/pgtable.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/tlbflush.h>
#include <asm/sections.h>
#include <asm/sections.h>
#include <asm/kdebug.h>


static void __init zap_identity_mappings(void)
static void __init zap_identity_mappings(void)
{
{
+1 −0
Original line number Original line Diff line number Diff line
@@ -55,6 +55,7 @@


#include <asm/tlbflush.h>
#include <asm/tlbflush.h>
#include <asm/cpu.h>
#include <asm/cpu.h>
#include <asm/kdebug.h>


asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");
asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");


+1 −0
Original line number Original line Diff line number Diff line
@@ -43,6 +43,7 @@
#include <asm/proto.h>
#include <asm/proto.h>
#include <asm/smp.h>
#include <asm/smp.h>
#include <asm/sections.h>
#include <asm/sections.h>
#include <asm/kdebug.h>


#ifndef Dprintk
#ifndef Dprintk
#define Dprintk(x...)
#define Dprintk(x...)
+1 −4
Original line number Original line Diff line number Diff line
@@ -24,7 +24,4 @@ extern void trap_init_hook(void);
extern void time_init_hook(void);
extern void time_init_hook(void);
extern void mca_nmi_hook(void);
extern void mca_nmi_hook(void);


extern int setup_early_printk(char *);
extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));

#endif
#endif
Loading