[PATCH v4 08/12] ARM: kernel: Get rid of thread_info::used_cp[] array

Linus Walleij linus.walleij at linaro.org
Tue Mar 21 07:58:11 PDT 2023


On Mon, Mar 20, 2023 at 2:19 PM Ard Biesheuvel <ardb at kernel.org> wrote:

> We keep track of which coprocessor triggered a fault in the used_cp[]
> array in thread_info, but this data is never used anywhere. So let's
> remove it.
>
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>

Introduced in kernel v2.6.2, deleted in kernel v5.9, apparently
only used for dump_fpu() which we don't use anymore?
Cc: Al Viro who deleted dump_fpu().

Fixes: bb1a773d5b6b ("kill unused dump_fpu() instances")

FWIW:
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list