Merge patch series "Some style cleanups for recent extension additions"
[linux-block.git] / arch / riscv / include / asm / cacheflush.h
index 4363d0beb38a15e5f0ba806611f736ad8dc90f5a..8a5c246b0a216c6d9da8e835f84fc640d2dbd2fb 100644 (file)
@@ -42,6 +42,11 @@ void flush_icache_mm(struct mm_struct *mm, bool local);
 
 #endif /* CONFIG_SMP */
 
+/*
+ * The T-Head CMO errata internally probe the CBOM block size, but otherwise
+ * don't depend on Zicbom.
+ */
+extern unsigned int riscv_cbom_block_size;
 #ifdef CONFIG_RISCV_ISA_ZICBOM
 void riscv_init_cbom_blocksize(void);
 #else