Skip to content

Commit

Permalink
[Blackfin] arch: fix bug - make sure we check the right L1 length
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Meihui Fan authored and Bryan Wu committed Apr 23, 2008
1 parent 6eceb0d commit c5b50df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/blackfin/mm/blackfin_sram.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c5b50df

Please sign in to comment.