aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMeihui Fan <mhfan@hhcn.com>2008-04-22 20:55:26 -0400
committerBryan Wu <cooloney@kernel.org>2008-04-22 20:55:26 -0400
commitc5b50df8f071f0f28cbac3909929149acab6c170 (patch)
tree4caa5262289a3dc3733e8f442eff61eba3cfc94d /arch/blackfin
parent6eceb0d4da10df9301e27bcec7a9b927e5047251 (diff)
[Blackfin] arch: fix bug - make sure we check the right L1 length
Signed-off-by: Meihui Fan <mhfan@hhcn.com> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mm/blackfin_sram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mm/blackfin_sram.c b/arch/blackfin/mm/blackfin_sram.c
index e41f0e8ecac..3246f91c7ba 100644
--- a/arch/blackfin/mm/blackfin_sram.c
+++ b/arch/blackfin/mm/blackfin_sram.c
@@ -401,7 +401,7 @@ EXPORT_SYMBOL(l1_data_sram_free);
401 401
402void *l1_inst_sram_alloc(size_t size) 402void *l1_inst_sram_alloc(size_t size)
403{ 403{
404#if L1_DATA_A_LENGTH != 0 404#if L1_CODE_LENGTH != 0
405 unsigned flags; 405 unsigned flags;
406 void *addr; 406 void *addr;
407 407