Commit f1db88d2 authored by Mike Frysinger's avatar Mike Frysinger

Blackfin: document the lsl variants of the L1 allocator

Make sure the meaning of "lsl" is covered somewhere and it is clear why we
somewhat duplicate the sram alloc/free functions.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 595d681f
...@@ -743,6 +743,10 @@ int sram_free_with_lsl(const void *addr) ...@@ -743,6 +743,10 @@ int sram_free_with_lsl(const void *addr)
} }
EXPORT_SYMBOL(sram_free_with_lsl); EXPORT_SYMBOL(sram_free_with_lsl);
/* Allocate memory and keep in L1 SRAM List (lsl) so that the resources are
* tracked. These are designed for userspace so that when a process exits,
* we can safely reap their resources.
*/
void *sram_alloc_with_lsl(size_t size, unsigned long flags) void *sram_alloc_with_lsl(size_t size, unsigned long flags)
{ {
void *addr = NULL; void *addr = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment