From: Kumar Gala Date: Wed, 16 Jul 2008 20:54:21 +0000 (-0500) Subject: powerpc: Fixes for CONFIG_PTE_64BIT for SMP support X-Git-Tag: v2.6.28-rc1~569^2~47^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bf2b5cdc5fe5e3136ceeecc85141765023ded6e;p=pandora-kernel.git powerpc: Fixes for CONFIG_PTE_64BIT for SMP support There are some minor issues with support 64-bit PTEs on a 32-bit processor when dealing with SMP. * We need to order the stores in set_pte_at to make sure the flag word is set second. * Change pte_clear to use pte_update so only the flag word is cleared * Added a WARN_ON to set_pte_at to ensure the pte isn't present for the 64-bit pte/SMP case (to ensure our assumption of this fact). Signed-off-by: Kumar Gala Acked-by: Becky Bruce --- Reading git-diff-tree failed