1
0
Fork 0
alistair23-linux/include
Kumar Gala 7a1e335085 [PATCH] ppc32: Fix pte_update for 64-bit PTEs
While the existing pte_update code handled atomically modifying a 64-bit PTE,
it did not return all 64-bits of the PTE before it was modified.  This causes
problems in some places that expect the full PTE to be returned, like
ptep_get_and_clear().

Created a new pte_update function that is conditional on CONFIG_PTE_64BIT.  It
atomically reads the low PTE word which all PTE flags are required to be in
and returns a premodified full 64-bit PTE.

Since we now have an explicit 64-bit PTE version of pte_update we can also
remove the hack that existed to get the low PTE word regardless of size.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-16 15:24:20 -07:00
..
acpi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-alpha Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-arm [PATCH] arm: add comment about dma_supported() 2005-04-16 15:23:57 -07:00
asm-arm26 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-cris Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-frv Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-generic Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-h8300 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-i386 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-m32r Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-m68k Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-m68knommu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-mips Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-parisc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-ppc [PATCH] ppc32: Fix pte_update for 64-bit PTEs 2005-04-16 15:24:20 -07:00
asm-ppc64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-s390 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-sh64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-sparc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-sparc64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-um Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-v850 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-x86_64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
linux [PATCH] Fix linux/atalk.h header 2005-04-16 15:24:09 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
media Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtd Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
net Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pcmcia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rxrpc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00