lkml.org 
[lkml]   [2010]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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@gentoo.org>
-mike
--
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/

\
 
 \ /
  Last update: 2010-01-19 23:51    [W:0.074 / U:0.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site