]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] Fix freeing of page tables for ARM in free_pgd_slow
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Wed, 27 Feb 2008 12:44:59 +0000 (13:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 1 Mar 2008 20:23:57 +0000 (20:23 +0000)
commit0c82d83cb09a1c9fd4d24d32064ce827709c104b
tree5aef9cca82718041a9f9b54cf5286925633c09d6
parentd862ccc570c875e1454fc57ed00f5a1081985b26
[ARM] Fix freeing of page tables for ARM in free_pgd_slow

Since 2f569af (CONFIG_HIGHPTE vs. sub-page page tables.) pte_free() calls
pte_lock_deinit() and dec_zone_page_state().  So free_pgd_slow must not call
the latter two when calling the first.

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/pgd.c