stop build when an error occurs and when BUILDLOG is set (#5160)
[openwrt.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 @@ void set_async_breakpoint(unsigned long
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 @@ static void kgdb_wait(void *arg)
12
13 local_irq_restore(flags);
14 }
15 +#endif
16
17 /*
18 * GDB stub needs to call kgdb_wait on all processor with interrupts
This page took 0.048655 seconds and 5 git commands to generate.