Skip to content
Commit 9bf2b5cd authored by Kumar Gala's avatar Kumar Gala
Browse files

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: default avatarKumar Gala <galak@kernel.crashing.org>
Acked-by: default avatarBecky Bruce <becky.bruce@freescale.com>
parent 0ba3418b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment