Path: ewrotcd!mail-to-news!not-for-mail Mime-Version: 1.0 X-Original-Date: Wed, 28 May 2003 23:27:25 +0200 Message-ID: <20030528212724.GA695@elf.ucw.cz> From: Pavel Machek Newsgroups: chiark.mail.linux-rutgers.kernel X-Mailing-List: linux-kernel@vger.kernel.org Date: Wed, 28 May 2003 21:32:02 GMT User-Agent: Mutt/1.5.3i Content-Disposition: inline Content-Type: text/plain; charset=us-ascii X-Warning: Reading this can be dangerous to your mental health. Subject: Fix suspend with pccardd running X-Received: from vger.kernel.org ([209.116.70.75]) by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp for list-linux-kernel@chiark.greenend.org.uk id 19L8T4-0006Pe-00; Wed, 28 May 2003 22:28:18 +0100 X-Received: from vger.kernel.org ([209.116.70.75]) by chiark.greenend.org.uk (SAUCE v0.7.11) with esmtp id sauce-6205-1054157-1; 28 May 2003 21:28:18 +0000 (GMT) X-Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261151AbTE1VOY (ORCPT ); Wed, 28 May 2003 17:14:24 -0400 X-Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261158AbTE1VOY (ORCPT ); Wed, 28 May 2003 17:14:24 -0400 X-Received: from smtp-out1.iol.cz ([194.228.2.86]:57242 "EHLO smtp-out1.iol.cz") by vger.kernel.org with ESMTP id S261151AbTE1VOX (ORCPT ); Wed, 28 May 2003 17:14:23 -0400 X-Received: from bug.ucw.cz (gprs4-66.eurotel.cz [160.218.147.66]) by smtp-out1.iol.cz (Internet on Line ESMTP server) with ESMTP id DA29E168375; Wed, 28 May 2003 23:27:32 +0200 (CEST) X-Received: (from pavel@localhost) by bug.ucw.cz (8.8.8/8.8.5) id XAA00701; Wed, 28 May 2003 23:27:27 +0200 Precedence: bulk Return-path: To: kernel list , Rusty trivial patch monkey Russell , dahinds@users.sourceforge.net Sender: linux-kernel-owner@vger.kernel.org Lines: 35 Xref: news.chiark.greenend.org.uk chiark.mail.linux-rutgers.kernel:432453 Hi! This fixes suspend when pccards are used... Please apply, Pavel --- /usr/src/tmp/linux/drivers/pcmcia/cs.c 2003-05-27 13:43:10.000000000 +0200 +++ /usr/src/linux/drivers/pcmcia/cs.c 2003-05-28 23:09:47.000000000 +0200 @@ -48,6 +48,7 @@ #include #include #include +#include #include #include @@ -783,6 +784,9 @@ } schedule(); + if (current->flags & PF_FREEZE) + refrigerator(PF_IOTHREAD); + if (!skt->thread) break; } -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - 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/