summaryrefslogtreecommitdiff
path: root/include/linux/smp_lock.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-07-14 08:08:45 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-15 15:44:02 +1000
commit585583d95c5660973bc0cf64add517b040acd8a4 (patch)
tree4885b69235f5d34bd76260747dcf93f51a362b50 /include/linux/smp_lock.h
parent7ff86b0317bc40c665aab62f3b7669713ade07c5 (diff)
powerpc: Fix pte_update for CONFIG_PTE_64BIT and !PTE_ATOMIC_UPDATES
Because the pte is now 64-bits the compiler was optimizing the update to always clear the upper 32-bits of the pte. We need to ensure the clr mask is treated as an unsigned long long to get the proper behavior. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/smp_lock.h')
0 files changed, 0 insertions, 0 deletions