Skip to content

Commit

Permalink
Blackfin arch: Fix bug - when to rmmod the L1_module, it stucks and t…
Browse files Browse the repository at this point in the history
…hen reboot the board.

Fix this by correcting the wrong pointer

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Sonic Zhang authored and Bryan Wu committed Aug 25, 2008
1 parent d70536e commit 225f7e1
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 @@ -335,7 +335,7 @@ static int _sram_free(const void *addr,
plast->size += pavail->size;
kmem_cache_free(sram_piece_cache, pavail);
} else {
pavail->next = plast;
pavail->next = plast->next;
plast->next = pavail;
plast = pavail;
}
Expand Down

0 comments on commit 225f7e1

Please sign in to comment.