[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191108193958.GA1273544@kroah.com>
Date: Fri, 8 Nov 2019 20:39:58 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Elliot Berman <eberman@...eaurora.org>
Cc: sre@...nel.org, tkjos@...gle.com, tsoni@...eaurora.org,
rananta@...eaurora.org, bjorn.andersson@...aro.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH 1/2] reboot: Export reboot_mode
On Fri, Nov 08, 2019 at 11:32:11AM -0800, Elliot Berman wrote:
> Export reboot_mode to support DLKMs wishing to modify reboot_mode.
"DLKMs"? What's that?
A kernel module?
>
> Signed-off-by: Elliot Berman <eberman@...eaurora.org>
> ---
> kernel/reboot.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/kernel/reboot.c b/kernel/reboot.c
> index c4d472b..6518370 100644
> --- a/kernel/reboot.c
> +++ b/kernel/reboot.c
> @@ -32,7 +32,9 @@ EXPORT_SYMBOL(cad_pid);
> #define DEFAULT_REBOOT_MODE
> #endif
> enum reboot_mode reboot_mode DEFAULT_REBOOT_MODE;
> +EXPORT_SYMBOL(reboot_mode);
> enum reboot_mode panic_reboot_mode = REBOOT_UNDEFINED;
> +EXPORT_SYMBOL(panic_reboot_mode);
EXPORT_SYMBOL_GPL() perhaps?
thanks,
greg k-h
Powered by blists - more mailing lists