Re: [PATCH 35/44] m68k: Register with kernel poweroff handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Guenter Roeck <linux@xxxxxxxxxxxx>
- Subject: Re: [PATCH 35/44] m68k: Register with kernel poweroff handler
- From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
- Date: Tue, 7 Oct 2014 11:19:36 +0200
- Cc: "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, "adi-buildroot-devel@xxxxxxxxxxxxxxxxxxxxx" <adi-buildroot-devel@xxxxxxxxxxxxxxxxxxxxx>, driverdevel <devel@xxxxxxxxxxxxxxxxxxxx>, "devicetree@xxxxxxxxxxxxxxx" <devicetree@xxxxxxxxxxxxxxx>, lguest@xxxxxxxxxxxxxxxx, ACPI Devel Maling List <linux-acpi@xxxxxxxxxxxxxxx>, alpha <linux-alpha@xxxxxxxxxxxxxxx>, "moderated list:PANASONIC MN10300..." <linux-am33-list@xxxxxxxxxx>, Cris <linux-cris-kernel@xxxxxxxx>, linux-efi@xxxxxxxxxxxxxxx, "open list:QUALCOMM HEXAGON..." <linux-hexagon@xxxxxxxxxxxxxxx>, linux-m32r-ja@xxxxxxxxxxxxxxxxxxxxx, "linuxppc-dev@xxxxxxxxxxxxxxxx" <linuxppc-dev@xxxxxxxxxxxxxxxx>, linux-s390 <linux-s390@xxxxxxxxxxxxxxx>, linux-tegra@xxxxxxxxxxxxxxx, "linux-xtensa@xxxxxxxxxxxxxxxx" <linux-xtensa@xxxxxxxxxxxxxxxx>, openipmi-developer@xxxxxxxxxxxxxxxxxxxxx, uml-devel <user-mode-linux-devel@xxxxxxxxxxxxxxxxxxxxx>, "linux-arm-kernel@xxxxxxxxxxxxxxxxxxx" <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, linux-c6x-dev@xxxxxxxxxxxxx, "linux-ia64@xxxxxxxxxxxxxxx" <linux-ia64@xxxxxxxxxxxxxxx>, linux-m68k <linux-m68k@xxxxxxxxxxxxxxx>, "open list:METAG ARCHITECTURE" <linux-metag@xxxxxxxxxxxxxxx>, Linux MIPS Mailing List <linux-mips@xxxxxxxxxxxxxx>, Parisc List <linux-parisc@xxxxxxxxxxxxxxx>, Linux PM list <linux-pm@xxxxxxxxxxxxxxx>, Linux-sh list <linux-sh@xxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Joshua Thompson <funaho@xxxxxxxxx>
- In-reply-to: <1412659726-29957-36-git-send-email-linux@roeck-us.net>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1412659726-29957-1-git-send-email-linux@roeck-us.net> <1412659726-29957-36-git-send-email-linux@roeck-us.net>
On Tue, Oct 7, 2014 at 7:28 AM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> Register with kernel poweroff handler instead of setting pm_power_off
> directly.
>
> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Cc: Joshua Thompson <funaho@xxxxxxxxx>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
As someone already mentioned, having #defines instead of hardcoded
numbers for the priorities would be nice.
Apart from that:
Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> + register_poweroff_handler_simple(nf_poweroff, 128);
> + register_poweroff_handler_simple(mac_poweroff, 128);
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]