Re: [PATCH V9 16/24] LoongArch: Add misc common routines

From: Arnd Bergmann
Date: Sat Apr 30 2022 - 05:56:53 EST


On Sat, Apr 30, 2022 at 11:05 AM Huacai Chen <chenhuacai@xxxxxxxxxxx> wrote:

> +unsigned long __xchg_small(volatile void *ptr, unsigned long val, unsigned int size)
> +{
> + u32 old32, mask, temp;
> + volatile u32 *ptr32;
> + unsigned int shift;
> +
> + /* Check that ptr is naturally aligned */

As discussed, please remove this function and all the references to it.

Arnd