Re: [PATCH 26/38] livepatch: Replace deprecated CPU-hotplug functions.

From: Jiri Kosina
Date: Thu Aug 19 2021 - 06:02:05 EST


On Wed, 4 Aug 2021, Petr Mladek wrote:

> > The functions get_online_cpus() and put_online_cpus() have been
> > deprecated during the CPU hotplug rework. They map directly to
> > cpus_read_lock() and cpus_read_unlock().
> >
> > Replace deprecated CPU-hotplug functions with the official version.
> > The behavior remains unchanged.
> >
> > Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
> > Cc: Jiri Kosina <jikos@xxxxxxxxxx>
> > Cc: Miroslav Benes <mbenes@xxxxxxx>
> > Cc: Petr Mladek <pmladek@xxxxxxxx>
> > Cc: Joe Lawrence <joe.lawrence@xxxxxxxxxx>
> > Cc: live-patching@xxxxxxxxxxxxxxx
> > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
>
> Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

As this doesn't seem to have been picked up yet, I've just applied it to
livepatching.git#for-5.15/cpu-hotplug

Thanks,

--
Jiri Kosina
SUSE Labs