mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-08-18 21:01:07 +00:00
xa_cmpxchg() was one of the largest functions in the xarray implementation. By turning it into a wrapper and having the callers take the lock (like several other functions), we save 160 bytes on a tinyconfig build and reduce the duplication in xarray.c. Change-Id: I31c97a82dae4eaab5ddaada6901092a94d392cb0 Signed-off-by: Matthew Wilcox <willy@infradead.org>