mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
2aec85b26f
Based on the normalized pattern: this program is free software you can redistribute it and/or modify it under the terms of the gnu general public license as published by the free software foundation version 2 this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference. Reviewed-by: Allison Randal <allison@lohutok.net> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18 lines
437 B
C
18 lines
437 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* Generic SRAM Driver Interface */
|
|
#ifndef __LINUX_SRAM_H__
|
|
#define __LINUX_SRAM_H__
|
|
|
|
struct gen_pool;
|
|
|
|
#ifdef CONFIG_SRAM_EXEC
|
|
void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, size_t size);
|
|
#else
|
|
static inline void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src,
|
|
size_t size)
|
|
{
|
|
return NULL;
|
|
}
|
|
#endif /* CONFIG_SRAM_EXEC */
|
|
#endif /* __LINUX_SRAM_H__ */
|