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:
6fa114e
)
microblaze: Remove memset in free_init_pages
author
Michal Simek
<monstr@monstr.eu>
Wed, 3 Mar 2010 16:03:21 +0000
(17:03 +0100)
committer
Michal Simek
<monstr@monstr.eu>
Thu, 1 Apr 2010 06:38:19 +0000
(08:38 +0200)
We don't need to do it.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/mm/init.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/mm/init.c
b/arch/microblaze/mm/init.c
index 1608e2e1a44abcb553a82b73b18d6bacef94556f..45b4bce606bb0c4819b09442a8e07eecf8cd6282 100644
(file)
--- a/
arch/microblaze/mm/init.c
+++ b/
arch/microblaze/mm/init.c
@@
-165,7
+165,6
@@
void free_init_pages(char *what, unsigned long begin, unsigned long end)
for (addr = begin; addr < end; addr += PAGE_SIZE) {
ClearPageReserved(virt_to_page(addr));
init_page_count(virt_to_page(addr));
- memset((void *)addr, 0xcc, PAGE_SIZE);
free_page(addr);
totalram_pages++;
}