Sergei Shtylyov wrote:
> Fix some SMP specific issues on MIPS:
>
> - smp_call_function() shouldn't be called with interrupts disabled, but
>   kgdb_roundup_cpu() fails to actually enable them using local_irq_restore()
>   as the 'flags' argument passed to it has interrupts already disabled;
>
> - handle_exception() does not enable interrupts prior to __flush_cache_all()
>   call which also ends up in IPI;
>
> - 'mips_die_head' didn't have its 'lock' field initialized.
>
> While at it, switch to using DEFINE_SPINLOCK() to define 
> 'die_notifier_lock'...
>
> Based on the original patch by Manish Lachwani <[EMAIL PROTECTED]>.
>
> Signed-off-by: Sergei Shtylyov <[EMAIL PROTECTED]>
>
>   

Committed to mips-lite.patch in the linux2_6_21_uprev branch.

Jason.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to