File Index
Files and directories
Sign in
FILE

sram.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/sram.h C
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/* Generic SRAM Driver Interface */
 3#ifndef __LINUX_SRAM_H__
 4#define __LINUX_SRAM_H__
 5
 6struct gen_pool;
 7
 8#ifdef CONFIG_SRAM_EXEC
 9void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, size_t size);
10#else
11static inline void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src,
12				   size_t size)
13{
14	return NULL;
15}
16#endif /* CONFIG_SRAM_EXEC */
17#endif /* __LINUX_SRAM_H__ */
~/ Read-only file preview.