[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191109001832.GA5592@tuxbook-pro>
Date: Fri, 8 Nov 2019 16:18:32 -0800
From: Bjorn Andersson <bjorn.andersson@...aro.org>
To: Elliot Berman <eberman@...eaurora.org>
Cc: sre@...nel.org, tkjos@...gle.com, gregkh@...uxfoundation.org,
tsoni@...eaurora.org, rananta@...eaurora.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH v2 1/2] reboot: Export reboot_mode
On Fri 08 Nov 15:40 PST 2019, Elliot Berman wrote:
> Export reboot_mode to support kernel modules wishing to modify reboot_mode.
>
Reviewed-by: Bjorn Andersson <bjorn.andersson@...aro.org>
> 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..b1fbc22 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_GPL(reboot_mode);
> enum reboot_mode panic_reboot_mode = REBOOT_UNDEFINED;
> +EXPORT_SYMBOL_GPL(panic_reboot_mode);
>
> /*
> * This variable is used privately to keep track of whether or not
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
Powered by blists - more mailing lists