diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-02 04:46:35 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-12 06:12:00 -0400 |
commit | f1db88d2a7f1c92284e64f5dbb5c7a316a22576d (patch) | |
tree | 887c2b756d2b3a916b63daeff180ad59653deace /arch/blackfin/mm/sram-alloc.c | |
parent | 595d681f2c0610223bbe79189b0896f1b8c24f8a (diff) |
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: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mm/sram-alloc.c')
-rw-r--r-- | arch/blackfin/mm/sram-alloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/mm/sram-alloc.c b/arch/blackfin/mm/sram-alloc.c index fa54a4ee3d6c..0bc3c4ef0aad 100644 --- a/arch/blackfin/mm/sram-alloc.c +++ b/arch/blackfin/mm/sram-alloc.c | |||
@@ -743,6 +743,10 @@ found: | |||
743 | } | 743 | } |
744 | EXPORT_SYMBOL(sram_free_with_lsl); | 744 | EXPORT_SYMBOL(sram_free_with_lsl); |
745 | 745 | ||
746 | /* Allocate memory and keep in L1 SRAM List (lsl) so that the resources are | ||
747 | * tracked. These are designed for userspace so that when a process exits, | ||
748 | * we can safely reap their resources. | ||
749 | */ | ||
746 | void *sram_alloc_with_lsl(size_t size, unsigned long flags) | 750 | void *sram_alloc_with_lsl(size_t size, unsigned long flags) |
747 | { | 751 | { |
748 | void *addr = NULL; | 752 | void *addr = NULL; |