Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1KLM9d-0002wo-EX for user-mode-linux-devel@lists.sourceforge.net; Tue, 22 Jul 2008 11:00:05 -0700 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250] helo=lxorguk.ukuu.org.uk) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1KLM9b-0000Gr-8h for user-mode-linux-devel@lists.sourceforge.net; Tue, 22 Jul 2008 11:00:05 -0700 Date: Tue, 22 Jul 2008 18:42:37 +0100 From: Alan Cox Message-ID: <20080722184237.7532d052@lxorguk.ukuu.org.uk> In-Reply-To: <20080722173509.GE3081@hack.voiplan.pt> References: <20080722105812.GB5283@alice> <20080722115354.79ba2314@lxorguk.ukuu.org.uk> <20080722173509.GE3081@hack.voiplan.pt> Mime-Version: 1.0 Subject: Re: [uml-devel] [Patch] um: fix a build error List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: WANG Cong Cc: Eric Sesterhenn , jdike@addtoit.com, linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net, xiyou.wangcong@gmail.com On Tue, 22 Jul 2008 18:35:09 +0100 WANG Cong wrote: > On Tue, Jul 22, 2008 at 11:53:54AM +0100, Alan Cox wrote: > >> Signed-off-by: Eric Sesterhenn > >> > >> --- linux-2.6/arch/um/drivers/line.c.orig 2008-07-22 12:06:17.000000000 +0200 > >> +++ linux-2.6/arch/um/drivers/line.c 2008-07-22 12:06:49.000000000 +0200 > >> @@ -362,10 +362,8 @@ static irqreturn_t line_write_interrupt( > >> if (tty == NULL) > >> return IRQ_NONE; > >> > >> - if (test_bit(TTY_DO_WRITE_WAKEUP, &tty->flags) && > >> - (tty->ldisc.write_wakeup != NULL)) > >> - (tty->ldisc.write_wakeup)(tty); > >> - > >> + if (test_bit(TTY_DO_WRITE_WAKEUP, &tty->flags)) > >> + tty_wakeup(tty); > > > >Sorry I should have been clearer - you don't want the test_bit either. > > > > What about the below one? > > Signed-off-by: WANG Cong Acked-by: Alan Cox ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel