Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -401,7 +401,7 @@ EXPORT_SYMBOL(l1_data_sram_free);


void *l1_inst_sram_alloc(size_t size)
void *l1_inst_sram_alloc(size_t size)
{
{
#if L1_DATA_A_LENGTH != 0
#if L1_CODE_LENGTH != 0
	unsigned flags;
	unsigned flags;
	void *addr;
	void *addr;