]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/bset.c
Update bcachefs sources to 0cd3e1d27a bcachefs: Fix for bch2_bkey_pack_pos() not...
[bcachefs-tools-debian] / libbcachefs / bset.c
index f92a757f953dfbd9cffa5e26e110e55ee280c384..26203a5da5046a928a5d0aa4a1316792a4b45bb7 100644 (file)
@@ -1193,7 +1193,7 @@ static struct bkey_packed *bset_search_write_set(const struct btree *b,
 
 static inline void prefetch_four_cachelines(void *p)
 {
-#ifdef CONFIG_X86_64
+#if (CONFIG_X86_64 && !defined(__clang__))
        asm(".intel_syntax noprefix;"
            "prefetcht0 [%0 - 127 + 64 * 0];"
            "prefetcht0 [%0 - 127 + 64 * 1];"