xref: /linux/arch/arm64/include/asm/ring_buffer.h (revision 7acfa2c5f4366d63653380646ffa7dbd1bfaccc0)
1*a494d3c8SMasami Hiramatsu (Google) /* SPDX-License-Identifier: GPL-2.0-only */
2*a494d3c8SMasami Hiramatsu (Google) #ifndef _ASM_ARM64_RING_BUFFER_H
3*a494d3c8SMasami Hiramatsu (Google) #define _ASM_ARM64_RING_BUFFER_H
4*a494d3c8SMasami Hiramatsu (Google) 
5*a494d3c8SMasami Hiramatsu (Google) #include <asm/cacheflush.h>
6*a494d3c8SMasami Hiramatsu (Google) 
7*a494d3c8SMasami Hiramatsu (Google) /* Flush D-cache on persistent ring buffer */
8*a494d3c8SMasami Hiramatsu (Google) #define arch_ring_buffer_flush_range(start, end)	dcache_clean_pop(start, end)
9*a494d3c8SMasami Hiramatsu (Google) 
10*a494d3c8SMasami Hiramatsu (Google) #endif /* _ASM_ARM64_RING_BUFFER_H */
11