Skip to contentSkip to conversation

Refcounting of objects part of a lockfree collection

RFC Oleg Nesterov 1 participant 1 message Jul 14, 2004

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 1 line

#ifdef __HAVE_ARCH_CMPXCHG

in wrong place.

static inline void refcount_init(refcount_t *rc)
...
#ifdef __HAVE_ARCH_CMPXCHG
...
#else /* !__HAVE_ARCH_CMPXCHG */
...
static inline void refcount_init(refcoun_t *rc) <--- redefenition

                                 ^^^^^^^^        <--- and typo

Oleg.