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 <vgu...@synopsys.com> > Cc: Catalin Marinas <catalin.mari...@arm.com> > Cc: Will Deacon <w...@kernel.org> > Cc: Guo Ren <guo...@kernel.org> > Cc: Yoshinori Sato <ys...@users.sourceforge.jp> > Cc: Brian Cain <bc...@codeaurora.org> > Cc: Geert Uytterhoeven <ge...@linux-m68k.org> > Cc: Michal Simek <mon...@monstr.eu> > Cc: Thomas Bogendoerfer <tsbog...@alpha.franken.de> > Cc: John Crispin <j...@phrozen.org> > Cc: Ley Foon Tan <ley.foon....@intel.com> > Cc: Jonas Bonn <jo...@southpole.se> > Cc: Stefan Kristiansson <stefan.kristians...@saunalahti.fi> > Cc: Stafford Horne <sho...@gmail.com> > Cc: James E.J. Bottomley <james.bottom...@hansenpartnership.com> > Cc: Helge Deller <del...@gmx.de> > Cc: Michael Ellerman <m...@ellerman.id.au> > Cc: Paul Walmsley <paul.walms...@sifive.com> > Cc: Palmer Dabbelt <pal...@dabbelt.com> > Cc: Albert Ou <a...@eecs.berkeley.edu> > Cc: Heiko Carstens <h...@linux.ibm.com> > Cc: Vasily Gorbik <g...@linux.ibm.com> > Cc: Christian Borntraeger <borntrae...@de.ibm.com> > Cc: Rich Felker <dal...@libc.org> > Cc: David S. Miller <da...@davemloft.net> > Cc: Jeff Dike <jd...@addtoit.com> > Cc: Richard Weinberger <rich...@nod.at> > Cc: Anton Ivanov <anton.iva...@cambridgegreys.com> > Cc: Thomas Gleixner <t...@linutronix.de> > Cc: Ingo Molnar <mi...@redhat.com> > Cc: Borislav Petkov <b...@alien8.de> > Cc: Chris Zankel <ch...@zankel.net> > Cc: Max Filippov <jcmvb...@gmail.com> > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Cc: Sebastian Reichel <s...@kernel.org> > Cc: linux-snps-arc@lists.infradead.org > Cc: linux-ker...@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-c...@vger.kernel.org > Cc: uclinux-h8-de...@lists.sourceforge.jp > Cc: linux-hexa...@vger.kernel.org > Cc: linux-m...@lists.linux-m68k.org > Cc: linux-m...@vger.kernel.org > Cc: openr...@lists.librecores.org > Cc: linux-par...@vger.kernel.org > Cc: linuxppc-...@lists.ozlabs.org > Cc: linux-ri...@lists.infradead.org > Cc: linux-s...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: sparcli...@vger.kernel.org > Cc: linux...@lists.infradead.org > Cc: linux-xte...@linux-xtensa.org > Signed-off-by: Lee Jones <lee.jo...@linaro.org> > --- > > 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 <tsbog...@alpha.franken.de> -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ] _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc