Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 11 Sep 2002 11:35:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 11 Sep 2002 11:35:55 -0400 Received: from mx2.elte.hu ([157.181.151.9]:39085 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Wed, 11 Sep 2002 11:35:55 -0400 Date: Wed, 11 Sep 2002 17:46:21 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: Oleg Drokin Cc: Jens Axboe , Robert Love , Thomas Molina , , Subject: Re: 2.5 Problem Status Report In-Reply-To: <20020911193829.A851@namesys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 483 Lines: 22 On Wed, 11 Sep 2002, Oleg Drokin wrote: > - preempt_count()--; \ > + if ( --preempt_count()) \ > + BUG(); \ actually, the correct patch is to: - preempt_count()--; \ + if (!--preempt_count()) \ + BUG(); \ (note the '!'). Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/