powerpc/mm: Define flags for Strong Access Ordering
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>
Mon, 7 Jul 2008 14:28:52 +0000 (00:28 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 9 Jul 2008 06:30:45 +0000 (16:30 +1000)
commitaba46c5027cb59d98052231b36efcbbde9c77a1d
treeb69dd362c74db562789d14136294c5fcbb7632e7
parentb845f313d78e4e259ec449909e3bbadf77b53a6d
powerpc/mm: Define flags for Strong Access Ordering

This patch defines:

- PROT_SAO, which is passed into mmap() and mprotect() in the prot field
- VM_SAO in vma->vm_flags, and
- _PAGE_SAO, the combination of WIMG bits in the pte that enables strong
access ordering for the page.

Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
include/asm-powerpc/mman.h
include/asm-powerpc/pgtable-ppc64.h
include/linux/mm.h