Re: FAILED: patch "[PATCH] locking/atomic: Make test_and_*_bit() ordered on failure" failed to apply to 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 21, 2022 at 09:28:52AM -0700, Linus Torvalds wrote:
> On Sun, Aug 21, 2022 at 6:46 AM <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > The patch below does not apply to the 5.10-stable tree.
> 
> I think the reason is that "atomic_long_fetch_xyz()" got renamed to
> "arch_atomic_long_fetch_or()" by commit cf3ee3c8c29d ("locking/atomic:
> add generic arch_*() bitops") in the meantime.
> 
> Afaik, the patch should apply by literally just doing
> 
>    sed 's/arch_atomic_long/atomic_long/'
> 
> on the patch before applying it.
> 
> That should fix it all the way back to the 4.19 backport.

That worked, thanks!



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux