xref: /linux/include/asm-generic/ring_buffer.h (revision a494d3c8d5392bcdff83c2a593df0c160ff9f322)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Generic arch dependent ring_buffer macros.
4  */
5 #ifndef __ASM_GENERIC_RING_BUFFER_H__
6 #define __ASM_GENERIC_RING_BUFFER_H__
7 
8 #include <linux/cacheflush.h>
9 
10 /* Flush cache on ring buffer range if needed. Do nothing by default. */
11 #define arch_ring_buffer_flush_range(start, end)	do { } while (0)
12 
13 #endif /* __ASM_GENERIC_RING_BUFFER_H__ */
14