Re: [PATCH 07/12] driver: base: cpu: export device_online/offline

From: Greg Kroah-Hartman
Date: Sat Nov 02 2019 - 13:17:48 EST


On Wed, Oct 30, 2019 at 03:38:32PM +0000, Qais Yousef wrote:
> And the {lock,unlock}_device_hotplug so that they can be used from
> modules.
>
> This is in preparation to replace cpu_up/down with
> device_online/offline; which kernel/torture.c will require to be
> exported to be built as a module.
>
> Signed-off-by: Qais Yousef <qais.yousef@xxxxxxx>
> CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> CC: "Rafael J. Wysocki" <rafael@xxxxxxxxxx>
> CC: linux-kernel@xxxxxxxxxxxxxxx
> ---
> drivers/base/core.c | 4 ++++
> 1 file changed, 4 insertions(+)

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>