MT#55283 fix naughty bit field bug

Change-Id: I865b54e0296b04009001e3df75db33a2745a3647
(cherry picked from commit 25a28db9ec)
mr12.5
Richard Fuchs 4 months ago
parent 6d17fc52b8
commit 0bdf058fa1

@ -647,7 +647,7 @@ INLINE void bf_copy(atomic64 *u, const uint64_t f,
}
/* works for multiple flags */
INLINE void bf_copy_same(atomic64 *u, const atomic64 *s, const uint64_t g) {
unsigned int old, set, clear;
uint64_t old, set, clear;
old = atomic64_get(s);
set = old & g;
clear = ~old & g;

Loading…
Cancel
Save