aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mm/blackfin_sram.h
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2008-07-19 14:51:31 +0800
committerBryan Wu <cooloney@kernel.org>2008-07-19 14:51:31 +0800
commit5d481f497559245ecfb1b95cafe39bfbf037fda5 (patch)
tree2fda653110eee285def1a063bde65c3a45e7bc5f /arch/blackfin/mm/blackfin_sram.h
parent1a8caeebe3689ad4ef67d7ff5d4143f7748deedd (diff)
downloadkernel_samsung_smdk4412-5d481f497559245ecfb1b95cafe39bfbf037fda5.zip
kernel_samsung_smdk4412-5d481f497559245ecfb1b95cafe39bfbf037fda5.tar.gz
kernel_samsung_smdk4412-5d481f497559245ecfb1b95cafe39bfbf037fda5.tar.bz2
Blackfin arch: change L1 malloc to base on slab cache and lists.
Remove the sram piece limitation and improve the performance to alloc/free sram piece data. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mm/blackfin_sram.h')
-rw-r--r--arch/blackfin/mm/blackfin_sram.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/blackfin/mm/blackfin_sram.h b/arch/blackfin/mm/blackfin_sram.h
index 0fb73b7..8cb0945 100644
--- a/arch/blackfin/mm/blackfin_sram.h
+++ b/arch/blackfin/mm/blackfin_sram.h
@@ -30,9 +30,7 @@
#ifndef __BLACKFIN_SRAM_H__
#define __BLACKFIN_SRAM_H__
-extern void l1sram_init(void);
-extern void l1_inst_sram_init(void);
-extern void l1_data_sram_init(void);
+extern void bfin_sram_init(void);
extern void *l1sram_alloc(size_t);
#endif