Commit c5b50df8 authored by Meihui Fan's avatar Meihui Fan Committed by Bryan Wu

[Blackfin] arch: fix bug - make sure we check the right L1 length

Signed-off-by: default avatarMeihui Fan <mhfan@hhcn.com>
Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent 6eceb0d4
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment