On Tue, Sep 14, 2010 at 04:34,  <[email protected]> wrote:
> Modified: trunk/kernel/kgdb.c (9135 => 9136)
>
>
> +#ifdef CONFIG_SMP
> +static int cont_curr_cpu_thread;
> +#endif
> +
> @@ -1088,6 +1092,8 @@
>                               break;
>                       }
>                       kgdb_contthread = thread;
> +                     if (ks->threadid == shadow_pid(0))
> +                             cont_curr_cpu_thread = 1;
>               }

this breaks non-smp builds:
kernel/kgdb.c: In function ‘gdb_cmd_task’:
kernel/kgdb.c:1096: error: ‘cont_curr_cpu_thread’ undeclared (first
use in this function)
kernel/kgdb.c:1096: error: (Each undeclared identifier is reported only once
kernel/kgdb.c:1096: error: for each function it appears in.)
make[1]: *** [kernel/kgdb.o] Error 1
-mike
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to