hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/arch/parisc/include/asm/cacheflush.h
....@@ -57,6 +57,11 @@
5757
5858 #define flush_dcache_mmap_lock(mapping) xa_lock_irq(&mapping->i_pages)
5959 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&mapping->i_pages)
60
+#define flush_dcache_mmap_lock_irqsave(mapping, flags) \
61
+ xa_lock_irqsave(&mapping->i_pages, flags)
62
+#define flush_dcache_mmap_unlock_irqrestore(mapping, flags) \
63
+ xa_unlock_irqrestore(&mapping->i_pages, flags)
64
+
6065
6166 #define flush_icache_page(vma,page) do { \
6267 flush_kernel_dcache_page(page); \