[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8bd0f97a1001191448k70b04ea7u98a6df64d2cc987b@mail.gmail.com>
Date:	Tue, 19 Jan 2010 17:48:05 -0500
From:	Mike Frysinger <vapier.adi@...il.com>
To:	Wim Van Sebroeck <wim@...ana.be>
Cc:	H Hartley Sweeten <hsweeten@...ionengravers.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Thierry Reding <thierry.reding@...onic-design.de>,
	uclinux-dist-devel@...ckfin.uclinux.org,
	linux-kernel@...r.kernel.org, Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: [RFC] [PATCH] change reboot_notifier to platform-shutdown method.
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@...too.org>
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
