]> err.no Git - linux-2.6/commitdiff
[Blackfin] arch: fix bug - make sure we check the right L1 length
authorMeihui Fan <mhfan@hhcn.com>
Wed, 23 Apr 2008 00:55:26 +0000 (08:55 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 23 Apr 2008 00:55:26 +0000 (08:55 +0800)
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>
arch/blackfin/mm/blackfin_sram.c

index e41f0e8ecacbd33d463295897aa1454d7b1e6023..3246f91c7baa40bc87fc30436b9ec7022092b356 100644 (file)
@@ -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;