On Thu, Aug 05, 2021 at 08:50:30AM +0100, Lee Jones wrote: > A recent attempt to convert the Power Reset Restart driver to tristate > failed because of the following compile error (reported once merged by > Stephen Rothwell via Linux Next): > > ERROR: "machine_restart" [drivers/power/reset/restart-poweroff.ko] > undefined! > > This error occurs since some of the machine_restart() instances are > not currently exported for use in modules. This patch aims to rectify > that. > > Cc: Vineet Gupta <[email protected]> > Cc: Catalin Marinas <[email protected]> > Cc: Will Deacon <[email protected]> > Cc: Guo Ren <[email protected]> > Cc: Yoshinori Sato <[email protected]> > Cc: Brian Cain <[email protected]> > Cc: Geert Uytterhoeven <[email protected]> > Cc: Michal Simek <[email protected]> > Cc: Thomas Bogendoerfer <[email protected]> > Cc: John Crispin <[email protected]> > Cc: Ley Foon Tan <[email protected]> > Cc: Jonas Bonn <[email protected]> > Cc: Stefan Kristiansson <[email protected]> > Cc: Stafford Horne <[email protected]> > Cc: James E.J. Bottomley <[email protected]> > Cc: Helge Deller <[email protected]> > Cc: Michael Ellerman <[email protected]> > Cc: Paul Walmsley <[email protected]> > Cc: Palmer Dabbelt <[email protected]> > Cc: Albert Ou <[email protected]> > Cc: Heiko Carstens <[email protected]> > Cc: Vasily Gorbik <[email protected]> > Cc: Christian Borntraeger <[email protected]> > Cc: Rich Felker <[email protected]> > Cc: David S. Miller <[email protected]> > Cc: Jeff Dike <[email protected]> > Cc: Richard Weinberger <[email protected]> > Cc: Anton Ivanov <[email protected]> > Cc: Thomas Gleixner <[email protected]> > Cc: Ingo Molnar <[email protected]> > Cc: Borislav Petkov <[email protected]> > Cc: Chris Zankel <[email protected]> > Cc: Max Filippov <[email protected]> > Cc: Greg Kroah-Hartman <[email protected]> > Cc: Sebastian Reichel <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Signed-off-by: Lee Jones <[email protected]> > --- > > The 2 patches this change supports have the required Acks already. > > NB: If it's safe to omit some of these, let me know and I'll revise the patch. > > [...] > arch/mips/kernel/reset.c | 1 + > arch/mips/lantiq/falcon/reset.c | 1 + > arch/mips/sgi-ip27/ip27-reset.c | 1 +
Acked-by: Thomas Bogendoerfer <[email protected]> -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]
