GEM_BUG_ON(ref->tree.rb_node != &ref->cache->node);
 
                /* Make the cached node available for reuse with any timeline */
-               if (IS_ENABLED(CONFIG_64BIT))
-                       ref->cache->timeline = 0; /* needs cmpxchg(u64) */
+               ref->cache->timeline = 0; /* needs cmpxchg(u64) */
        }
 
        spin_unlock_irqrestore(&ref->tree_lock, flags);
                if (cached == idx)
                        return it;
 
-#ifdef CONFIG_64BIT /* for cmpxchg(u64) */
                /*
                 * An unclaimed cache [.timeline=0] can only be claimed once.
                 *
                 * only the winner of that race will cmpxchg return the old
                 * value of 0).
                 */
-               if (!cached && !cmpxchg(&it->timeline, 0, idx))
+               if (!cached && !cmpxchg64(&it->timeline, 0, idx))
                        return it;
-#endif
        }
 
        BUILD_BUG_ON(offsetof(typeof(*it), node));