]> 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>
Thu, 21 Mar 2013 05:33:49 +0000 (16:33 +1100)
commit308ce538f91d7983cb13f8b7adbe31bd0e2d8239
tree55c88941ae858028e17ae2d4c1e617f9fd9d78b5
parent24596af44034599a38c48391726244bb28491a4e
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