On Tue, Oct 7, 2014 at 7:28 AM, Guenter Roeck <[email protected]> wrote: > Register with kernel poweroff handler instead of setting pm_power_off > directly. > > Cc: Geert Uytterhoeven <[email protected]> > Cc: Joshua Thompson <[email protected]> > Signed-off-by: Guenter Roeck <[email protected]>
As someone already mentioned, having #defines instead of hardcoded numbers for the priorities would be nice. Apart from that: Acked-by: Geert Uytterhoeven <[email protected]> > + 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 -- [email protected] 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 ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
