From: Mike Frysinger <vapier.adi@gmail.com>
To: Wim Van Sebroeck <wim@iguana.be>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>,
Andrew Morton <akpm@linux-foundation.org>,
Thierry Reding <thierry.reding@avionic-design.de>,
uclinux-dist-devel@blackfin.uclinux.org,
linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [RFC] [PATCH] change reboot_notifier to platform-shutdown method.
Date: Tue, 19 Jan 2010 17:48:05 -0500 [thread overview]
Message-ID: <8bd0f97a1001191448k70b04ea7u98a6df64d2cc987b@mail.gmail.com> (raw)
In-Reply-To: <20100119212209.GF3804@infomag.iguana.be>
On Tue, Jan 19, 2010 at 16:22, Wim Van Sebroeck wrote:
> [WATCHDOG] change reboot_notifier to platform-shutdown method.
>
> Platform device drivers can use the .shutdown method to handle soft
> shutdown's instead of reboot_notifier's.
>
> --- a/drivers/watchdog/bfin_wdt.c
> +++ b/drivers/watchdog/bfin_wdt.c
seems to work fine on my Blackfin boards:
root:/> dmesg -n 8
root:/> reboot
bfin_wdt_write:222: here i am
bfin_wdt_keepalive:88: here i am
bfin_wdt_release:196: here i am
bfin_wdt_stop:100: here i am
bfin_wdt_shutdown:418: here i am
bfin_wdt_stop:100: here i am
Restarting system.�
and i like things that shrink code:
- 1792 176 20 1988 7c4 drivers/watchdog/bfin_wdt.o
+ 1676 164 20 1860 744 drivers/watchdog/bfin_wdt.o
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-mike
prev parent reply other threads:[~2010-01-19 22:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 21:22 Wim Van Sebroeck
2010-01-19 22:48 ` Mike Frysinger [this message]
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=8bd0f97a1001191448k70b04ea7u98a6df64d2cc987b@mail.gmail.com \
--to=vapier.adi@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=hsweeten@visionengravers.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thierry.reding@avionic-design.de \
--cc=uclinux-dist-devel@blackfin.uclinux.org \
--cc=wim@iguana.be \
/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
all inboxes | Powered by JetHome®