summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mm
diff options
context:
space:
mode:
authorMeihui Fan <mhfan@hhcn.com>2008-04-23 08:55:26 +0800
committerBryan Wu <cooloney@kernel.org>2008-04-23 08:55:26 +0800
commitc5b50df8f071f0f28cbac3909929149acab6c170 (patch)
tree4caa5262289a3dc3733e8f442eff61eba3cfc94d /arch/blackfin/mm
parent6eceb0d4da10df9301e27bcec7a9b927e5047251 (diff)
downloadblackbird-op-linux-c5b50df8f071f0f28cbac3909929149acab6c170.tar.gz
blackbird-op-linux-c5b50df8f071f0f28cbac3909929149acab6c170.zip
[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/mm')
-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 e41f0e8ecacb..3246f91c7baa 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);
void *l1_inst_sram_alloc(size_t size)
{
-#if L1_DATA_A_LENGTH != 0
+#if L1_CODE_LENGTH != 0
unsigned flags;
void *addr;
OpenPOWER on IntegriCloud