diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-05 00:09:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-05 00:09:44 +0200 |
commit | 6fdf5e67fe8d3c83500dad9acae985132c2459a3 (patch) | |
tree | c6cb9c0b22c4d22e4c65a40c0851aff5eedf7cd5 /arch/mips | |
parent | ipmi: change device node ordering to reflect probe order (diff) | |
parent | [MIPS] Make KGDB compile on UP (diff) | |
download | linux-6fdf5e67fe8d3c83500dad9acae985132c2459a3.tar.xz linux-6fdf5e67fe8d3c83500dad9acae985132c2459a3.zip |
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
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/gdb-stub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/gdb-stub.c b/arch/mips/kernel/gdb-stub.c index 3191afa29ad8..25f4eab8ea9c 100644 --- a/arch/mips/kernel/gdb-stub.c +++ b/arch/mips/kernel/gdb-stub.c @@ -139,7 +139,6 @@ #include <asm/system.h> #include <asm/gdb-stub.h> #include <asm/inst.h> -#include <asm/smp.h> /* * external low-level support routines @@ -656,6 +655,7 @@ void set_async_breakpoint(unsigned long *epc) *epc = (unsigned long)async_breakpoint; } +#ifdef CONFIG_SMP static void kgdb_wait(void *arg) { unsigned flags; @@ -668,6 +668,7 @@ static void kgdb_wait(void *arg) local_irq_restore(flags); } +#endif /* * GDB stub needs to call kgdb_wait on all processor with interrupts |