[PATCH] powerpc64: fix spinlock recursion in native_hpte_clear
authorR Sharada <sharada@in.ibm.com>
Wed, 22 Feb 2006 16:13:08 +0000 (21:43 +0530)
committerPaul Mackerras <paulus@samba.org>
Fri, 24 Feb 2006 00:36:29 +0000 (11:36 +1100)
commit47f78a49206b7f9b0d283ba46a2a5a6ee1796472
treec58b73bf34271888016873699001f54e4b205dbc
parent611ae59c62e688792cd1e6a68b9dc0f68d0e0dff
[PATCH] powerpc64: fix spinlock recursion in native_hpte_clear

native_hpte_clear has a spinlock recursion problem with the native_tlbie_lock
being called twice, once in native_hpte_clear() and once within tlbie().
Fix the problem by changing the call to tlbie() in native_hpte_clear() to
__tlbie(). It still supports only 4k pages for now.

Signed-off-by: R Sharada <sharada@in.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_native_64.c