]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit61c12b70ccb9794541d882963363f5d3d3784ea2
treec58b73bf34271888016873699001f54e4b205dbc
parent93febd71b33215f3771342d4e398179e10842303
[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