projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d70536e
)
Blackfin arch: Fix bug - when to rmmod the L1_module, it stucks and then reboot the...
author
Sonic Zhang
<sonic.zhang@analog.com>
Mon, 25 Aug 2008 10:00:45 +0000
(18:00 +0800)
committer
Bryan Wu
<cooloney@kernel.org>
Mon, 25 Aug 2008 10:00:45 +0000
(18:00 +0800)
Fix this by correcting the wrong pointer
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mm/blackfin_sram.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/mm/blackfin_sram.c
b/arch/blackfin/mm/blackfin_sram.c
index 9d2be43ac3da97fcc0360ff68dd0f4aadf9d6e00..1ed1b15a39100c6eff277bb18ff7148d2be71109 100644
(file)
--- a/
arch/blackfin/mm/blackfin_sram.c
+++ b/
arch/blackfin/mm/blackfin_sram.c
@@
-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;
}