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