refresh generic 2.6.23 patches in upstream style
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.23 / 013-mips_gdb_stub.patch
1 --- a/arch/mips/kernel/gdb-stub.c
2 +++ b/arch/mips/kernel/gdb-stub.c
3 @@ -656,6 +656,7 @@
4 *epc = (unsigned long)async_breakpoint;
5 }
6
7 +#ifdef CONFIG_SMP
8 static void kgdb_wait(void *arg)
9 {
10 unsigned flags;
11 @@ -668,6 +669,7 @@
12
13 local_irq_restore(flags);
14 }
15 +#endif
16
17 /*
18 * GDB stub needs to call kgdb_wait on all processor with interrupts