+29
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Due to the refcount functions being cleaned up and majorly simplified in 5.4.208, a number of previously exported functions that were part of inline functions were removed and the real functions used instead. As those were part of the Android ABI, restore functions for these "checked" refcount abis so that existing code continues to build properly, while anything that is rebuilt, will be able to take advantage of the new inline functions instead. The functions restored are: refcount_inc_checked refcount_inc_not_zero_checked refcount_dec_checked refcount_dec_and_test_checked Bug: 161946584 Fixes: d0d58348 ("locking/refcount: Consolidate implementations of refcount_t") Cc: Will Deacon <willdeacon@google.com> Signed-off-by:Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ic080315ac173da8b374e0e5f2394cf2b6c1c109c