Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261691AbVAXVyf (ORCPT ); Mon, 24 Jan 2005 16:54:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261690AbVAXVwZ (ORCPT ); Mon, 24 Jan 2005 16:52:25 -0500 Received: from relay.2ka.mipt.ru ([194.85.82.65]:15333 "EHLO 2ka.mipt.ru") by vger.kernel.org with ESMTP id S261635AbVAXVvC (ORCPT ); Mon, 24 Jan 2005 16:51:02 -0500 Date: Tue, 25 Jan 2005 01:13:30 +0300 From: Evgeniy Polyakov To: Nish Aravamudan Cc: Andrew Morton , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [1/1] superio: change scx200 module name to scx. Message-ID: <20050125011330.3b4b8611@zanzibar.2ka.mipt.ru> In-Reply-To: <29495f1d05012413415c66974b@mail.gmail.com> References: <20050124233720.484c7ad0@zanzibar.2ka.mipt.ru> <29495f1d05012413415c66974b@mail.gmail.com> Reply-To: johnpol@2ka.mipt.ru Organization: MIPT X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Tue__25_Jan_2005_01_13_30_+0300_YmXOfa+brsJLmyMS" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4864 Lines: 93 This is a multi-part message in MIME format. --Multipart=_Tue__25_Jan_2005_01_13_30_+0300_YmXOfa+brsJLmyMS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 24 Jan 2005 13:41:33 -0800 Nish Aravamudan wrote: > > + set_current_state(TASK_INTERRUPTIBLE); > > + schedule_timeout(HZ); > > + > > + if (current->flags & PF_FREEZE) > > + refrigerator(PF_FREEZE); > > + > > + if (signal_pending(current)) > > + flush_signals(current); > > + } > > > > I believe this schedule_timeout() call can be an msleep_interruptible(1000). Patch was already sent to Greg, it will be included in next release. Attached one with fixed scx200/scx filename. > Thanks, > Nish Evgeniy Polyakov Only failure makes us experts. -- Theo de Raadt --Multipart=_Tue__25_Jan_2005_01_13_30_+0300_YmXOfa+brsJLmyMS Content-Type: application/octet-stream; name="msleep_superio.patch" Content-Disposition: attachment; filename="msleep_superio.patch" Content-Transfer-Encoding: base64 VXNlIG1zbGVlcCogY2FsbHMgaW5zdGVhZCBvZiBkaXJlY3Qgc2NoZWR1bGUqIGNhbGxzLgoKU2ln bmVkLW9mZi1ieTogRXZnZW5peSBQb2x5YWtvdiA8am9obnBvbEAya2EubWlwdC5ydT4KCi0tLSBs aW51eC0yLjYvZHJpdmVycy9zdXBlcmlvL3BjODczNnguYy5vcmlnCTIwMDUtMDEtMjEgMjE6Mzc6 MDUuNTY1ODUwMzI4ICswMzAwCisrKyBsaW51eC0yLjYvZHJpdmVycy9zdXBlcmlvL3BjODczNngu YwkyMDA1LTAxLTIxIDIxOjM3OjM3LjExMzA1NDQyNCArMDMwMApAQCAtMTkwLDE1ICsxOTAsMTUg QEAKIAl3aGlsZSAoYXRvbWljX3JlYWQoJnBjODczNnhfZGV2LnJlZmNudCkpIHsKIAkJcHJpbnRr KEtFUk5fSU5GTyAiV2FpdGluZyBmb3IgJXMgdG8gYmVjYW1lIGZyZWU6IHJlZmNudD0lZC5cbiIs CiAJCQkJcGM4NzM2eF9kZXYubmFtZSwgYXRvbWljX3JlYWQoJnBjODczNnhfZGV2LnJlZmNudCkp OwotCQkKLQkJc2V0X2N1cnJlbnRfc3RhdGUoVEFTS19JTlRFUlJVUFRJQkxFKTsKLQkJc2NoZWR1 bGVfdGltZW91dChIWik7CisKKwkJbXNsZWVwX2ludGVycnVwdGlibGUoMTAwMCk7CisKKwkJaWYg KHNpZ25hbF9wZW5kaW5nKGN1cnJlbnQpKQorCQkJZmx1c2hfc2lnbmFscyhjdXJyZW50KTsKIAkJ CQogCQlpZiAoY3VycmVudC0+ZmxhZ3MgJiBQRl9GUkVFWkUpCiAJCQlyZWZyaWdlcm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nJpZ2VyYXRvcihQRl9GUkVFWkUpOworCQkKKwkJbXNsZWVwX2ludGVycnVw dGlibGUoMTAwMCk7CiAKIAkJaWYgKHNpZ25hbF9wZW5kaW5nKGN1cnJlbnQpKQogCQkJZmx1c2hf c2lnbmFscyhjdXJyZW50KTsKKwkJCisJCWlmIChjdXJyZW50LT5mbGFncyAmIFBGX0ZSRUVaRSkK KwkJCXJlZnJpZ2VyYXRvcihQRl9GUkVFWkUpOwogCX0KIAogCXBjaV91bnJlZ2lzdGVyX2RyaXZl cigmc2N4MjAwX3BjaV9kcml2ZXIpOwoK --Multipart=_Tue__25_Jan_2005_01_13_30_+0300_YmXOfa+brsJLmyMS-- - 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/