]> 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>
Wed, 20 Mar 2013 04:22:47 +0000 (15:22 +1100)
commit3144a24043db3b2ff7bb0a3c1b15d01dc8da2236
treef89ad88801b9250466c6113115704b0c0782a34b
parent59ac065f3f4e4ad911713c70738fce6d775ad71d
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