Re: [PATCH v2 1/2] reboot: Export reboot_mode

From: Greg Kroah-Hartman
Date: Mon May 24 2021 - 08:34:41 EST


On Mon, May 24, 2021 at 01:09:18PM +0100, Lee Jones wrote:
> On Fri, 8 Nov 2019 at 23:41, Elliot Berman <eberman@xxxxxxxxxxxxxx> wrote:
>
> > Export reboot_mode to support kernel modules wishing to modify reboot_mode.
> >
> > Signed-off-by: Elliot Berman <eberman@xxxxxxxxxxxxxx>
> > ---
> > kernel/reboot.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
>
> Reviewed by Bjorn and GregKH, but never merged.
>
> I guess all the parties are still solving this downstream.
>
> Andrew, is this still something you'd consider?

If there is no in-kernel user, it does not need to be exported.

thanks,

greg k-h