From: Nish Aravamudan <nish.aravamudan@gmail.com>
To: johnpol@2ka.mipt.ru
Cc: Andrew Morton <akpm@osdl.org>,
Greg Kroah-Hartman <greg@kroah.com>,
linux-kernel@vger.kernel.org
Subject: Re: [1/1] superio: change scx200 module name to scx.
Date: Mon, 24 Jan 2005 13:41:33 -0800 [thread overview]
Message-ID: <29495f1d05012413415c66974b@mail.gmail.com> (raw)
In-Reply-To: <20050124233720.484c7ad0@zanzibar.2ka.mipt.ru>
On Mon, 24 Jan 2005 23:37:20 +0300, Evgeniy Polyakov
<johnpol@2ka.mipt.ru> wrote:
> Change scx200 module name to scx.
>
> Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
>
> --- linux-2.6/drivers/superio/scx.c 1970-01-01 03:00:00.000000000 +0300
> +++ linux-2.6/drivers/superio/scx.c 2005-01-24 22:06:15.000000000 +0300
<snip>
> +static void scx200_fini(void)
> +{
> + sc_del_sc_dev(&scx200_dev);
> +
> + while (atomic_read(&scx200_dev.refcnt))
> + {
> + printk(KERN_INFO "Waiting for %s to became free: refcnt=%d.\n",
> + scx200_dev.name, atomic_read(&scx200_dev.refcnt));
> + set_current_state(TASK_INTERRUPTIBLE);
> + schedule_timeout(HZ);
> +
> + if (current->flags & PF_FREEZE)
> + refrigerator(PF_FREEZE);
> +
> + if (signal_pending(current))
> + flush_signals(current);
> + }
<snip>
I believe this schedule_timeout() call can be an msleep_interruptible(1000).
Thanks,
Nish
next prev parent reply other threads:[~2005-01-24 21:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-24 20:37 Evgeniy Polyakov
2005-01-24 21:41 ` Nish Aravamudan [this message]
2005-01-24 22:13 ` Evgeniy Polyakov
2005-01-25 6:18 ` Greg KH
2005-01-25 6:18 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29495f1d05012413415c66974b@mail.gmail.com \
--to=nish.aravamudan@gmail.com \
--cc=akpm@osdl.org \
--cc=greg@kroah.com \
--cc=johnpol@2ka.mipt.ru \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome