Index: kernel/generic/include/lib/refcount.h
===================================================================
--- kernel/generic/include/lib/refcount.h	(revision b1696194837e19c7e4d446880d20ede25043bad4)
+++ kernel/generic/include/lib/refcount.h	(revision 90ba06c84b193d055991b29e9accfaa9bac53856)
@@ -49,7 +49,11 @@
 } atomic_refcount_t;
 
+#define REFCOUNT_INITIALIZER() { \
+	.__cnt = ATOMIC_VAR_INIT(0), \
+}
+
 static inline void refcount_init(atomic_refcount_t *rc)
 {
-	atomic_store_explicit(&rc->__cnt, 0, memory_order_relaxed);
+	atomic_init(&rc->__cnt, 0);
 }
 
