Package ip6t_limit and ip6t_frag for 2.4 kernels (#3760)
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.24 / 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