提交 225f7e1e 编写于 作者: S Sonic Zhang 提交者: Bryan Wu

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: NSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
上级 d70536ec
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册