This enhancement request is to add the define for PROT_SAO to powerpc/mman.h to match the latest changes in the Linux kernel. This define enables a new hardware feature on Power7 to be used by applications to specify pages in a process's address space that exhibit a stronger memory consistency model, Strong Access Ordering. The justification for the kernel change is in this changeset: http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/ linux-2.6.git;a=commit;h=ef3d3246a0d06be622867d21af25f997aeeb105f The change to powerpc/mman.h is here: http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/ linux-2. 6.git;a=commitdiff;h=aba46c5027cb59d98052231b36efcbbde9c77a1d;hp=b845f313d78e4e259ec449909e3bbadf77b53a6d This patch will create the PROT_SAO define in libc/sysdeps/unix/sysv/linux/powerpc/bits/mman.h to match the linux kernel header in powerpc/mman.h.
Created attachment 2841 [details] Patch to add PROT_SAO to mman.h Attached patch.
link to the message on libc-alpha where this is submitted: http://sourceware.org/ml/libc-alpha/2008-07/msg00040.html
- there is no reason to not sort the value numerically - the comments all end with a period - you didn't update the copyright year I fixed all this up myself.