Messages in this thread | | | From | Mike Frysinger <> | Date | Tue, 19 Jan 2010 17:48:05 -0500 | 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@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/
| |