Re: [Linux-ia64] First cut at SMP-safe preemption for IA64

From: Matthew Wilcox <willy_at_debian.org>
Date: 2002-11-22 16:10:06
On Fri, Nov 22, 2002 at 03:53:52PM +1100, Peter Chubb wrote:
> @@ -235,14 +234,15 @@
>  
>  	if (!tty || !info->xmit.buf) return;
>  
> -	spin_lock_irqsave(&serial_lock, flags);
> +	local_save_flags(flags);
> +	local_irq_disable();

i think you mean to use local_irq_save(flags) here (and several other cases).

-- 
Revolutions do not require corporate support.
Received on Thu Nov 21 21:10:17 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:11 EST