projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a564496
)
mm/microblaze: use free_highmem_page() to free highmem pages into buddy system
author
Jiang Liu
<
[email protected]
>
Mon, 29 Apr 2013 22:07:06 +0000
(15:07 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 29 Apr 2013 22:54:32 +0000
(15:54 -0700)
Use helper function free_highmem_page() to free highmem pages into
the buddy system.
Signed-off-by: Jiang Liu <
[email protected]
>
Cc: Michal Simek <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/microblaze/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/mm/init.c
b/arch/microblaze/mm/init.c
index 9be53024a832d3b80e6e62715d9722130de2a67f..4ec137d13ad793cf9dd36521225547f41d8a21d9 100644
(file)
--- a/
arch/microblaze/mm/init.c
+++ b/
arch/microblaze/mm/init.c
@@
-82,13
+82,9
@@
static unsigned long highmem_setup(void)
/* FIXME not sure about */
if (memblock_is_reserved(pfn << PAGE_SHIFT))
continue;
- ClearPageReserved(page);
- init_page_count(page);
- __free_page(page);
- totalhigh_pages++;
+ free_highmem_page(page);
reservedpages++;
}
- totalram_pages += totalhigh_pages;
pr_info("High memory: %luk\n",
totalhigh_pages << (PAGE_SHIFT-10));