]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/FRV: use free_highmem_page() to free highmem pages into buddy system
authorJiang Liu <liuj97@gmail.com>
Wed, 20 Mar 2013 04:07:18 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:07 +0000 (15:33 +1100)
commit9a482f823f29f784ffc9666b926438522c422527
tree432191468e9324dfcef0fbf7849bdfc6f39659c1
parent1b69db08864bec209bb54069a602c87cc3eae5db
mm/FRV: use free_highmem_page() to free highmem pages into buddy system

Use helper function free_highmem_page() to free highmem pages into
the buddy system.

Also fix a bug that totalhigh_pages should be increased when freeing
a highmem page into the buddy system.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/frv/mm/init.c