mirror of https://gitee.com/openkylin/linux.git
Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/ralf/upstream-linus
* 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/ralf/upstream-linus: [MIPS] Make KGDB compile on UP [MIPS] Pb1200: Fix header breakage
This commit is contained in:
commit
6fdf5e67fe
|
@ -139,7 +139,6 @@
|
||||||
#include <asm/system.h>
|
#include <asm/system.h>
|
||||||
#include <asm/gdb-stub.h>
|
#include <asm/gdb-stub.h>
|
||||||
#include <asm/inst.h>
|
#include <asm/inst.h>
|
||||||
#include <asm/smp.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* external low-level support routines
|
* external low-level support routines
|
||||||
|
@ -656,6 +655,7 @@ void set_async_breakpoint(unsigned long *epc)
|
||||||
*epc = (unsigned long)async_breakpoint;
|
*epc = (unsigned long)async_breakpoint;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_SMP
|
||||||
static void kgdb_wait(void *arg)
|
static void kgdb_wait(void *arg)
|
||||||
{
|
{
|
||||||
unsigned flags;
|
unsigned flags;
|
||||||
|
@ -668,6 +668,7 @@ static void kgdb_wait(void *arg)
|
||||||
|
|
||||||
local_irq_restore(flags);
|
local_irq_restore(flags);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GDB stub needs to call kgdb_wait on all processor with interrupts
|
* GDB stub needs to call kgdb_wait on all processor with interrupts
|
||||||
|
|
|
@ -245,7 +245,7 @@ enum external_pb1200_ints {
|
||||||
PB1200_SD1_INSERT_INT,
|
PB1200_SD1_INSERT_INT,
|
||||||
PB1200_SD1_EJECT_INT,
|
PB1200_SD1_EJECT_INT,
|
||||||
|
|
||||||
PB1200_INT_END (PB1200_INT_BEGIN + 15)
|
PB1200_INT_END = PB1200_INT_BEGIN + 15
|
||||||
};
|
};
|
||||||
|
|
||||||
/* For drivers/pcmcia/au1000_db1x00.c */
|
/* For drivers/pcmcia/au1000_db1x00.c */
|
||||||
|
|
Loading…
Reference in New Issue