mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
Blackfin arch: Fix bug - when to rmmod the L1_module, it stucks and then 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>
This commit is contained in:
parent
d70536ec3a
commit
225f7e1eb5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user