aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mm/blackfin_sram.c
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/blackfin_sram.c
parent[Blackfin] arch: add support for the rest of the gptimers on the BF54x (diff)
downloadlinux-dev-c5b50df8f071f0f28cbac3909929149acab6c170.tar.xz
linux-dev-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 '')
-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;